]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kcategorizedview.cpp
Let's do this in a safe way while we wait for the release team to reply telling if...
[dolphin.git] / src / kcategorizedview.cpp
index 81bb5519d6285ddc3cf3131e5851450637d93ee3..7fe80605552a23b7a4c9336326c7ec42bf55c516 100644 (file)
@@ -1,6 +1,6 @@
 /**
   * This file is part of the KDE project
-  * Copyright (C) 2007 Rafael Fernández López <ereslibre@gmail.com>
+  * Copyright (C) 2007 Rafael Fernández López <ereslibre@kde.org>
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Library General Public
@@ -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;