summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-28 15:20:37 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:15 +0100
commit9d8c64dccbdb5144c6496cbd9ef4eb636f6b4ace (patch)
tree695c1bcbc442e648b844ff04655e655b786e2148 /src/mainwindow.cpp
parent9db6a9d7931edbb08e74cd1e110794f47d46df3e (diff)
Do not set Qt::ItemIsDropEnabled all the time.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 65ab368d..48a935ae 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -578,6 +578,8 @@ void MainWindow::setupModList()
ui->modList->sortByColumn(ModList::COL_PRIORITY, Qt::AscendingOrder);
+ connect(ui->modList, &ModListView::dragEntered, m_OrganizerCore.modList(), &ModList::onDragEnter);
+
connect(
ui->modList->header(), SIGNAL(sortIndicatorChanged(int,Qt::SortOrder)),
this, SLOT(modListSortIndicatorChanged(int,Qt::SortOrder)));