Disable drag mod reordering

This commit is contained in:
Petr Mrázek 2013-08-20 20:56:21 +02:00
parent bbc47cb8bd
commit 524fbcdd3e

View File

@ -20,7 +20,7 @@ ModListView::ModListView ( QWidget* parent )
setHorizontalScrollBarPolicy ( Qt::ScrollBarAsNeeded );
setDropIndicatorShown(true);
setDragEnabled(true);
setDragDropMode(QAbstractItemView::DragDrop);
setDragDropMode(QAbstractItemView::DropOnly);
viewport()->setAcceptDrops(true);
}