[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kpat
From:       Stephan Kulow <coolo () kde ! org>
Date:       2009-07-30 10:48:39
Message-ID: 1248950919.220918.19545.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1004494 by coolo:

use qAps
BUG: 199934


 M  +1 -1      dealer.cpp  


--- trunk/KDE/kdegames/kpat/dealer.cpp #1004493:1004494
@@ -973,7 +973,7 @@
     }
 
     // Only regenerate the pixmap if it doesn't already exist or the new one is a \
                significantly different size.
-    if ( abs( d->wonItem->boundingRect().width() - boxWidth ) > 20 )
+    if ( qAbs( d->wonItem->boundingRect().width() - boxWidth ) > 20 )
     {
         QRect contentsRect = QRect( 0, 0, boxWidth, boxHeight );
         QPixmap pix = Render::renderElement( "message_frame", contentsRect.size() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic