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
This commit is contained in:
Peter Penz 2007-06-16 13:55:48 +00:00
parent 8096f7ccc0
commit c1aed6c033

View file

@ -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);
}