From: Rafael Fernández López Date: Tue, 26 Jun 2007 14:32:42 +0000 (+0000) Subject: Fancy dragged items. There are two bad parts of this story: the hardcoded value of X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d1aa2eb18029419e280942e91b665438c74c5a1d Fancy dragged items. There are two bad parts of this story: the hardcoded value of the opacity and the break-of-unification between QListView and KListView. This will be removed for sure, just for testing reasons. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=680555 --- diff --git a/src/klistview.cpp b/src/klistview.cpp index 0c550f486..1971d7f98 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -660,7 +660,10 @@ void KListView::paintEvent(QPaintEvent *event) } if (d->isDragging && !d->dragLeftViewport) + { + painter.setOpacity(0.5); d->drawDraggedItems(&painter); + } painter.restore(); }