[Kde-games-devel] KDE/kdegames/libkdegames

Albert Astals Cid aacid at kde.org
Fri Nov 27 17:22:30 CET 2009


A Dimecres, 25 de novembre de 2009, Stefan Majewsky va escriure:
> SVN commit 1054334 by majewsky:
> 
> QGraphicsTextItem::setDefaultTextColor does not check whether the given
> color is equal to the color that was previously set, and issues an
> update even then. Because we're calling setDefaultTextColor from the
> item's paint event, this behavior sometimes results in an infinite loop
> paintEvent -> setDefaultTextColor -> update -> paintEvent.
> 
> This commit fixes the weird problem that KGamePopupItem::showMessage
> destroys (on some systems) all running timers.

Have you opened a Qt bug about that, usually Qt has this kind of "protection" 
against the same value not firing signals, so i think it can qualify as bug.

Albert


More information about the kde-games-devel mailing list