From: Peter Penz Date: Wed, 6 Jun 2007 17:38:22 +0000 (+0000) Subject: Instead of darkening the background color of an inactive view, just use a transparent... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e1cb019f78b421fc033d406121279485e6ab5711 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 --- 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();