diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-29 20:29:00 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:16 +0100 |
| commit | 6e803a35226980a135d8837898345b38675e3188 (patch) | |
| tree | 53ec8a99927d3e5f27c7cc5620f1286a9e68a4ae /src/modlistview.h | |
| parent | 7e2c52133960b7d1bbb0fe72a37cee1c2b67c0ec (diff) | |
Fix prev/next button in mod info dialog.
Diffstat (limited to 'src/modlistview.h')
| -rw-r--r-- | src/modlistview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h index 1e6c5ceb..7e6b29bb 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -105,6 +105,11 @@ protected: QModelIndex indexModelToView(const QModelIndex& index) const;
QModelIndex indexViewToModel(const QModelIndex& index) const;
+ // returns the next/previous index of the given index
+ //
+ QModelIndex nextIndex(const QModelIndex& index) const;
+ QModelIndex prevIndex(const QModelIndex& index) const;
+
// all index for the given model under the given index, recursively
//
std::vector<QModelIndex> allIndex(
|
