[Kde-games-devel] kmahjongg qgraphic branch
Albert Astals Cid
aacid at kde.org
Mon Apr 15 18:18:37 UTC 2013
El Dilluns, 15 d'abril de 2013, a les 16:16:57, Ian Simpson va escriure:
> ----- Original Message -----
>
> > From: Albert Astals Cid <aacid at kde.org>
> > To: kde-games-devel at kde.org
> > Cc:
> > Sent: Sunday, 14 April 2013, 15:34
> > Subject: Re: [Kde-games-devel] kmahjongg qgraphic branch
>
>
>
> > Another small selection problem, it seems somehow "double click" is
> > being
> > ignored, i.e. go to a tile and click on it twice quite fast, it will just
> > select, instead of select+unselect like it does in master, what do you
> > think about this?
> >
> > Cheers,
> > Albert
>
> OK, patched.
>
> I've simply passed the double-click event on to mousePressEvent(). Seems
> to work fine.
>
> ...
>
> Just realised that calling application.setDoubleClickInterval(0) in main.cpp
> would probably be better. That would effectively disable double-clicks
> altogether and GameScene::mouseDoubleClickEvent() could be removed.
If that works, yeah that seems a bit cleaner.
Cheers,
Albert
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
More information about the kde-games-devel
mailing list