void KCategorizedView::startDrag(Qt::DropActions 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. // QAbstractItemView::startDrag(supportedActions); #if !defined(DOLPHIN_DRAGANDDROP) QListView::startDrag(supportedActions); #endif d->isDragging = false; d->mouseButtonPressed = false; d->rightMouseButtonPressed = false; viewport()->update(d->lastDraggedItemsRect); } void KCategorizedView::startDrag(Qt::DropActions 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. #if defined(DOLPHIN_DRAGANDDROP) QAbstractItemView::startDrag(supportedActions); #else QListView::startDrag(supportedActions); #endif d->isDragging = false; d->mouseButtonPressed = false; d->rightMouseButtonPressed = false; viewport()->update(d->lastDraggedItemsRect); }