diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-29 01:35:02 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:15 +0100 |
| commit | d979e60aed14b368ac9badf0b88c06f61c17893b (patch) | |
| tree | e9b3357349da605308014bae9a28f0836997b655 /src/modlist.h | |
| parent | 7a65cc64885724c409f2deadaac925c66a9b00ee (diff) | |
Fix automatic refresh of the collapsible separator proxy.
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 5 |
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
//
|
