diff options
| author | Rafael Fernández López <[email protected]> | 2007-06-26 14:32:42 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-06-26 14:32:42 +0000 |
| commit | d1aa2eb18029419e280942e91b665438c74c5a1d (patch) | |
| tree | 4986ef8463f6e214953fe192e91ed8dae48147c1 | |
| parent | 964d7125b252077f1264cbd4d2610e4a12f150cb (diff) | |
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: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=680555
| -rw-r--r-- | src/klistview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } |
