]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/statusbarmessagelabel.cpp
Code adaptation because of changes on libraries related to revision 719630
[dolphin.git] / src / statusbarmessagelabel.cpp
index fd2c2abd9c03295f26cfb0f7d342c2342d18797f..a32d259fc69f62d8e5302d93b5697c464383cdf7 100644 (file)
@@ -42,7 +42,7 @@ StatusBarMessageLabel::StatusBarMessageLabel(QWidget* parent) :
     m_timer(0),
     m_closeButton(0)
 {
-    setMinimumHeight(K3Icon::SizeSmall);
+    setMinimumHeight(KIconLoader::SizeSmall);
 
     QPalette palette;
     palette.setColor(QPalette::Background, Qt::transparent);
@@ -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"?