summaryrefslogtreecommitdiffstats
path: root/src/palettecfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/palettecfg.cpp')
-rw-r--r--src/palettecfg.cpp6
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());
}