┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorizedview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kcategorizedview.cpp')
-rw-r--r--src/kcategorizedview.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp
index 5ec751fa4..7fe806055 100644
--- a/src/kcategorizedview.cpp
+++ b/src/kcategorizedview.cpp
@@ -976,7 +976,12 @@ void KCategorizedView::leaveEvent(QEvent *event)
void KCategorizedView::startDrag(Qt::DropActions supportedActions)
{
- QListView::startDrag(supportedActions);
+ // FIXME: QAbstractItemView does far better here since it sets the
+ // pixmap of selected icons to the dragging cursor, but it sets a non
+ // ARGB window so it is no transparent. Use QAbstractItemView when
+ // this is fixed on Qt.
+ //QListView::startDrag(supportedActions);
+ QAbstractItemView::startDrag(supportedActions);
d->isDragging = false;
d->mouseButtonPressed = false;