Commit 4f46b858 authored by Peter Penz's avatar Peter Penz
Browse files

use a transparent background to let the users eye focus on the folder content...

use a transparent background to let the users eye focus on the folder content (e. g. like in http://www.kde-look.org/content/preview.php?preview=1&id=60475&file1=60475-1.jpg&file2=&file3=&name=Crystal+Project)

svn path=/trunk/KDE/kdebase/apps/; revision=676274
parent efba40ed
......@@ -43,6 +43,10 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) :
viewport()->setAttribute(Qt::WA_Hover);
QPalette palette = viewport()->palette();
palette.setColor(viewport()->backgroundRole(), Qt::transparent);
viewport()->setPalette(palette);
KFileItemDelegate* delegate = new KFileItemDelegate(this);
setItemDelegate(delegate);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment