From 1e75fd8daeff5329c067919941404e67d5d195c7 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 29 Jun 2015 20:38:16 +0200 Subject: bugfix: dropping files from overwrite on mod failed whien mod grouping was active --- src/modlistsortproxy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modlistsortproxy.cpp') diff --git a/src/modlistsortproxy.cpp b/src/modlistsortproxy.cpp index efe60732..39631b67 100644 --- a/src/modlistsortproxy.cpp +++ b/src/modlistsortproxy.cpp @@ -21,6 +21,7 @@ along with Mod Organizer. If not, see . #include "modinfo.h" #include "profile.h" #include "messagedialog.h" +#include "qtgroupingproxy.h" #include #include #include @@ -362,7 +363,7 @@ bool ModListSortProxy::dropMimeData(const QMimeData *data, Qt::DropAction action return false; } if ((row == -1) && (column == -1)) { - return this->sourceModel()->dropMimeData(data, action, -1, -1, mapToSource(parent)); + return sourceModel()->dropMimeData(data, action, -1, -1, mapToSource(parent)); } // in the regular model, when dropping between rows, the row-value passed to // the sourceModel is inconsistent between ascending and descending ordering. -- cgit v1.3.1