]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
deprecated-- KColorScheme __comp_ctor fixes
[dolphin.git] / src / dolphinview.cpp
index 7339b82272f37cf6653045323aa5c4ce98748aea..d145597caa7736fc234e44f4ccbe9b7d621e9f4a 100644 (file)
@@ -911,7 +911,7 @@ void DolphinView::applyCutItemEffect()
 
 void DolphinView::updateViewportColor()
 {
-    QColor color = KColorScheme(KColorScheme::View).background();
+    QColor color = KColorScheme(QPalette::Active, KColorScheme::View).background().color();
     if (m_active) {
         emit urlChanged(url()); // Hmm, this is a hack; the url hasn't really changed.
         emit selectionChanged(selectedItems());