summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 83e8ec9c..edf7d53a 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -371,6 +371,11 @@ private:
private:
+ // convert an index of the modlist to an index for the given model, assuming
+ // the given model is a proxy (of a proxy (of... )) the modlist
+ //
+ QModelIndex indexToProxy(QAbstractItemModel* proxyModel, const QModelIndex& index);
+
// retrieve the relative path of file and its origin given a URL from Mime data
// returns an empty optional if the URL is not a valid file for dropping
//