From e1cb019f78b421fc033d406121279485e6ab5711 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 6 Jun 2007 17:38:22 +0000 Subject: Instead of darkening the background color of an inactive view, just use a transparent background. Makes no big difference for styles like Plastique, but looks better for Oxygen. svn path=/trunk/KDE/kdebase/apps/; revision=672302 --- src/dolphinview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 1a33668e0..1e6fed776 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -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(); -- cgit v1.3