]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fancy dragged items. There are two bad parts of this story: the hardcoded value of
authorRafael Fernández López <ereslibre@kde.org>
Tue, 26 Jun 2007 14:32:42 +0000 (14:32 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Tue, 26 Jun 2007 14:32:42 +0000 (14:32 +0000)
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

src/klistview.cpp

index 0c550f4866204b0bb5ad03e2131203d6981ce555..1971d7f98def069deb65026bb72f6d58bd962201 100644 (file)
@@ -660,7 +660,10 @@ void KListView::paintEvent(QPaintEvent *event)
     }
 
     if (d->isDragging && !d->dragLeftViewport)
+    {
+        painter.setOpacity(0.5);
         d->drawDraggedItems(&painter);
+    }
 
     painter.restore();
 }