┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbarmessagelabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statusbarmessagelabel.cpp')
-rw-r--r--src/statusbarmessagelabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbarmessagelabel.cpp b/src/statusbarmessagelabel.cpp
index fd2c2abd9..8f5f2096e 100644
--- a/src/statusbarmessagelabel.cpp
+++ b/src/statusbarmessagelabel.cpp
@@ -139,7 +139,7 @@ void StatusBarMessageLabel::paintEvent(QPaintEvent* /* event */)
// draw background
QColor backgroundColor = palette().brush(QPalette::Background).color();
- QColor foregroundColor = KColorScheme(KColorScheme::View).foreground();
+ QColor foregroundColor = KColorScheme(QPalette::Active, KColorScheme::View).foreground().color();
if (m_illumination > 0) {
// TODO: are there foreground and background colors available for
// "error messages"?