All pastes #951394 Raw Edit

Oszkar

public cpp v1 · immutable
·published 2008-03-21 10:33 UTC
rendered paste body
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);}