From kde-commits Tue Jun 15 21:56:47 2010 From: Hugo Pereira Da Costa Date: Tue, 15 Jun 2010 21:56:47 +0000 To: kde-commits Subject: KDE/kdeutils/kcalc Message-Id: <20100615215647.1B6BCAC8D4 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127663854130460 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++) {