]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Instead of darkening the background color of an inactive view, just use a transparent...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 6 Jun 2007 17:38:22 +0000 (17:38 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 6 Jun 2007 17:38:22 +0000 (17:38 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=672302

src/dolphinview.cpp

index 1a33668e01dec3167dbfd747834478a40be82ae5..1e6fed77674dfe702c7fed8a40798e542167fe7b 100644 (file)
@@ -1171,9 +1171,7 @@ void DolphinView::updateActivationState()
         emit urlChanged(url());
         emit selectionChanged(selectedItems());
     } else {
-        // darken the background if the view is inactive
-        // TODO: does not work for a black background
-        color = color.darker(105);
+        color.setAlpha(0);
     }
 
     QWidget* viewport = itemView()->viewport();