diff options
Diffstat (limited to 'src/modlistview.cpp')
| -rw-r--r-- | src/modlistview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp index 27e23417..91bdced3 100644 --- a/src/modlistview.cpp +++ b/src/modlistview.cpp @@ -18,6 +18,12 @@ void ModListView::setModel(QAbstractItemModel *model) setVerticalScrollBar(new ViewMarkingScrollBar(model, this));
}
+void ModListView::dragEnterEvent(QDragEnterEvent* event)
+{
+ emit dragEntered(event->mimeData());
+ QTreeView::dragEnterEvent(event);
+}
+
void ModListView::dragMoveEvent(QDragMoveEvent* event)
{
if (autoExpandDelay() >= 0) {
|
