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
This commit is contained in:
Peter Penz 2007-06-06 17:38:22 +00:00
parent 8d06f40d82
commit e1cb019f78

View 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();