From 8cf429a1dd0d99790f2564b3ad363788e224711a Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 5 Aug 2015 22:48:34 +0200 Subject: - bugfix: manual installer now cancels drag&drop when dropping on a subitem - bugfix: objects dropped on the modlist were treated as mods when they weren't urls --- src/modlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modlist.h') diff --git a/src/modlist.h b/src/modlist.h index ed52a3ea..358fd583 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -150,6 +150,7 @@ public: // implementation of virtual functions of QAbstractItemModel virtual Qt::ItemFlags flags(const QModelIndex &modelIndex) const; virtual Qt::DropActions supportedDropActions() const { return Qt::MoveAction | Qt::CopyAction; } virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const; virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); virtual bool removeRows(int row, int count, const QModelIndex &parent); -- cgit v1.3.1