summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/kdesktopshadowsettings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdesktop/kdesktopshadowsettings.cpp b/kdesktop/kdesktopshadowsettings.cpp
index 6f18850e9..0453a91e4 100644
--- a/kdesktop/kdesktopshadowsettings.cpp
+++ b/kdesktop/kdesktopshadowsettings.cpp
@@ -71,7 +71,8 @@ void KDesktopShadowSettings::setConfig(KConfig *val)
setUID();
config->setGroup("FMSettings");
- m_textColor = config->readColorEntry("NormalTextColor", TQColor("#FFFFFF"));
+ TQColor textWhiteColor("#FFFFFF");
+ m_textColor = config->readColorEntry("NormalTextColor", &textWhiteColor);
m_bgColor = config->readColorEntry("ItemTextBackground");
m_isEnabled = config->readBoolEntry("ShadowEnabled", true);