From: Peter Penz Date: Sun, 1 Apr 2007 19:09:40 +0000 (+0000) Subject: activate basic drag & drop for the column view (although it's quite buggy at the... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6b50b873ec8a9fb0fac84fc4d77f6cdf31a9df9a?ds=sidebyside activate basic drag & drop for the column view (although it's quite buggy at the moment) svn path=/trunk/KDE/kdebase/apps/; revision=648963 --- diff --git a/src/dolphincolumnview.cpp b/src/dolphincolumnview.cpp index baf78f7e2..9ce51dbd2 100644 --- a/src/dolphincolumnview.cpp +++ b/src/dolphincolumnview.cpp @@ -37,6 +37,11 @@ DolphinColumnView::DolphinColumnView(QWidget* parent, DolphinController* control { Q_ASSERT(controller != 0); + setAcceptDrops(true); + setSelectionBehavior(SelectItems); + setDragDropMode(QAbstractItemView::DragDrop); + setDropIndicatorShown(false); + viewport()->setAttribute(Qt::WA_Hover); connect(this, SIGNAL(clicked(const QModelIndex&)),