From: Peter Penz Date: Thu, 6 Oct 2011 21:14:04 +0000 (+0200) Subject: Assure that the rubberband is drawn above the items and not below X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/b1b5a6db2e8b9b1fc175d068ba393925d95c9dc6 Assure that the rubberband is drawn above the items and not below --- diff --git a/src/kitemviews/kitemlistview.cpp b/src/kitemviews/kitemlistview.cpp index bafbb47a4..d5926c0f7 100644 --- a/src/kitemviews/kitemlistview.cpp +++ b/src/kitemviews/kitemlistview.cpp @@ -1271,6 +1271,8 @@ void KItemListView::emitOffsetChanges() KItemListWidget* KItemListView::createWidget(int index) { KItemListWidget* widget = m_widgetCreator->create(this); + widget->setFlag(QGraphicsItem::ItemStacksBehindParent); + updateWidgetProperties(widget, index); m_visibleItems.insert(index, widget);