]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kcategorizedview.cpp
${CMAKE_SOURCE_DIR}/libkonq doesn't exist now
[dolphin.git] / src / kcategorizedview.cpp
index 5ec751fa4d0bfc676dbe70f61f358f914dc6ab48..7fe80605552a23b7a4c9336326c7ec42bf55c516 100644 (file)
@@ -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;