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

List:       kde-commits
Subject:    KDE/kdegames/ksudoku/src/gui
From:       Mauricio Piacentini <mauricio () tabuleiro ! com>
Date:       2007-10-24 13:40:40
Message-ID: 1193233240.853614.29955.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 728861 by piacentini:

Avoid missing checkmark icon for game variants, use ksudoku icon for 
now, until we have proper icons for each type (at least 2D and 3D 
variations probably).
CCMAIL:Johannes.Bergmeier@gmx.net


 M  +1 -1      gamevariants.cpp  


--- trunk/KDE/kdegames/ksudoku/src/gui/gamevariants.cpp #728860:728861
@@ -142,7 +142,7 @@
 	QRect contentRect = option.rect.adjusted(leftMargin, separatorPixels, -rightMargin, \
-separatorPixels);  
 	// Show icon
-	QPixmap iconPixmap = KIcon("", KIconLoader::global()).pixmap(iconWidth, \
iconHeight); +	QPixmap iconPixmap = KIcon("ksudoku", \
KIconLoader::global()).pixmap(iconWidth, iconHeight);  \
painter->drawPixmap(contentRect.left(), (contentRect.height() - iconPixmap.height()) \
/ 2 + contentRect.top(), iconPixmap);  contentRect.adjust(iconPixmap.width() + \
separatorPixels*2, 0, 0, 0);  


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

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