summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeapplication.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 20:38:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:30:35 +0900
commitcf7f8e74af96c15491c49457261a7d0d001250ad (patch)
tree9113585e3f8354db697b3026cef4c91777501c15 /tdecore/tdeapplication.cpp
parent89c8032171eb722341972a56d0a0c8a003042511 (diff)
downloadtdelibs-cf7f8e74af96c15491c49457261a7d0d001250ad.tar.gz
tdelibs-cf7f8e74af96c15491c49457261a7d0d001250ad.zip
Replace color '#define' strings with actual values
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 17a8fd0ec28f5efbc658892067bb5602b6a8e44c)
Diffstat (limited to 'tdecore/tdeapplication.cpp')
-rw-r--r--tdecore/tdeapplication.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp
index c13297dc3..069155850 100644
--- a/tdecore/tdeapplication.cpp
+++ b/tdecore/tdeapplication.cpp
@@ -2441,13 +2441,13 @@ TQPalette TDEApplication::createApplicationPalette( TDEConfig *config, int contr
TQColor trinity4VisitedLink( 82, 24, 139 );
TQColor background = config->readColorEntry( "background", &trinity4Background );
- TQColor foreground = config->readColorEntry( "foreground", tqblackptr );
+ TQColor foreground = config->readColorEntry( "foreground", &TQt::black );
TQColor button = config->readColorEntry( "buttonBackground", &trinity4Button );
- TQColor buttonText = config->readColorEntry( "buttonForeground", tqblackptr );
+ TQColor buttonText = config->readColorEntry( "buttonForeground", &TQt::black );
TQColor highlight = config->readColorEntry( "selectBackground", &trinity4Blue );
- TQColor highlightedText = config->readColorEntry( "selectForeground", tqwhiteptr );
- TQColor base = config->readColorEntry( "windowBackground", tqwhiteptr );
- TQColor baseText = config->readColorEntry( "windowForeground", tqblackptr );
+ TQColor highlightedText = config->readColorEntry( "selectForeground", &TQt::white );
+ TQColor base = config->readColorEntry( "windowBackground", &TQt::white );
+ TQColor baseText = config->readColorEntry( "windowForeground", &TQt::black );
TQColor link = config->readColorEntry( "linkColor", &trinity4Link );
TQColor visitedLink = config->readColorEntry( "visitedLinkColor", &trinity4VisitedLink );