summaryrefslogtreecommitdiff
path: root/src/modlist.h
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/modlist.h
parent9db6a9d7931edbb08e74cd1e110794f47d46df3e (diff)
Do not set Qt::ItemIsDropEnabled all the time.
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modlist.h b/src/modlist.h
index eebb1105..4e50c959 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -215,7 +215,7 @@ public: // implementation of virtual functions of QAbstractItemModel
public slots:
-
+ void onDragEnter(const QMimeData* data);
void enableSelected(const QItemSelectionModel *selectionModel);
void disableSelected(const QItemSelectionModel *selectionModel);
@@ -399,6 +399,7 @@ private:
mutable bool m_Modified;
bool m_InNotifyChange;
+ bool m_DropOnMod = false;
QFontMetrics m_FontMetrics;