diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:41:22 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:41:22 -0500 |
commit | ea3a9effca9bebfe18bfb7546da619ecbbb121f3 (patch) | |
tree | 54ceea8953098258666fe2459632470f5dc85c94 /src/palettecfg.cpp | |
parent | 191c434271e705161fbd01ed83b6d043a275bffc (diff) | |
download | ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.tar.gz ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.zip |
Apply build fixes
Diffstat (limited to 'src/palettecfg.cpp')
-rw-r--r-- | src/palettecfg.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/palettecfg.cpp b/src/palettecfg.cpp index 9196712..18e9d34 100644 --- a/src/palettecfg.cpp +++ b/src/palettecfg.cpp @@ -82,13 +82,7 @@ void PaletteCfg::setPanelPalette(const QPalette &pal, bool updateColorButton) { labelTitle->unsetPalette(); framePanel->setPalette(pal); -#if ( KDE_VERSION_MAJOR >= 3 ) labelTitle->setPaletteForegroundColor(pal.active().text()); -#else - QPalette p= labelTitle->palette(); - p.setColor(QColorGroup::Foreground,pal.active().text()); - labelTitle->setPalette(p); -#endif if(updateColorButton) slotComboSelected(comboSelect->currentItem()); } |