]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbarmessagelabel.cpp
deprecated-- KColorScheme __comp_ctor fixes
[dolphin.git] / src / statusbarmessagelabel.cpp
index fd2c2abd9c03295f26cfb0f7d342c2342d18797f..8f5f2096e33704bc3945dbc9a785000aa8f4f422 100644 (file)
@@ -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"?