[Kde-games-devel] Adventures with Palapeli
Stefan Majewsky
majewsky at gmx.net
Fri Dec 11 10:51:07 CET 2009
Am Freitag, 11. Dezember 2009 01:04:54 schrieb Ian Wadham:
> Most of the time is being taken up by the loop on "piece->
> setCursor(Qt::OpenHandCursor);", which is performed for all
> solved pieces. Should it not be for just the one piece that is
> added to the solution? One setCursor takes about 5 msec.
What the?
> Also, I do not see a "hand" cursor any more on my setup.
> Didn't you change the cursor style, Stefan?
> [...]
> If I comment out the setCursor loop (this has no visible effect BTW),
This is a Qt bug. QGraphicsItem::setCursor says that cursor settings will be
propagated to child items if they have no own cursor set, but
QGraphicsItem::cursor does only check for the item's own cursor.
> P.S. Would you like me to send you my 1000-piece test-case
> privately, Stefan? It has some edge pieces lined up next to where
> they fit, so it should be nice and easy to use.
Would be nice. Please do not forget the puzzle file.
Greetings
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20091211/fa9479f0/attachment.sig
More information about the kde-games-devel
mailing list