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

List:       kde-commits
Subject:    KDE/kdeutils/kcalc
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-06-15 21:56:47
Message-ID: 20100615215647.1B6BCAC8D4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1138388 by hpereiradacosta:

Fixed stylesheet definition so that it applies only on kpushbutton. 
Otherwise the passed stylesheet also applies to the associated tooltip, which creates artifacts.


 M  +1 -1      kcalc.cpp  


--- trunk/KDE/kdeutils/kcalc/kcalc.cpp #1138387:1138388
@@ -1751,7 +1751,7 @@
 {
     calc_display->changeSettings();
 
-    QString sheet = "background-color: %1";
+    QString sheet = "KPushButton { background-color: %1 }";
 
     QColor numPal(KCalcSettings::numberButtonsColor());
     for (int i = 0; i < 10; i++) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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