summaryrefslogtreecommitdiff
path: root/src/modlistsortproxy.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-06-29 20:38:16 +0200
committerTannin <devnull@localhost>2015-06-29 20:38:16 +0200
commit1e75fd8daeff5329c067919941404e67d5d195c7 (patch)
treefb7b92640e852856b71fa85aead4fe4760d1a902 /src/modlistsortproxy.cpp
parent61033814fde8d863336061b622b0ad011930dc18 (diff)
bugfix: dropping files from overwrite on mod failed whien mod grouping was active
Diffstat (limited to 'src/modlistsortproxy.cpp')
-rw-r--r--src/modlistsortproxy.cpp3
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
#include "modinfo.h"
#include "profile.h"
#include "messagedialog.h"
+#include "qtgroupingproxy.h"
#include <QMenu>
#include <QCheckBox>
#include <QWidgetAction>
@@ -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.