diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-01 20:59:30 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:19 +0100 |
| commit | c0ac46d5c020bfb9292a812b2c52dc3c6236c7b3 (patch) | |
| tree | 3e41456b3253e34cb483974faf25577ec05cd60b /src/modlistviewactions.h | |
| parent | bd76c677307bf2106e0823477739680032a897d4 (diff) | |
Fix create empty mod/separator position.
Diffstat (limited to 'src/modlistviewactions.h')
| -rw-r--r-- | src/modlistviewactions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h index 2850d30a..f1215cec 100644 --- a/src/modlistviewactions.h +++ b/src/modlistviewactions.h @@ -36,10 +36,10 @@ public: void installMod(const QString& archivePath = "") const; // create an empty mod/a separator before the given mod or at - // the end of the list if the index is -1 + // the end of the list if the index is invalid // - void createEmptyMod(int modIndex) const; - void createSeparator(int modIndex) const; + void createEmptyMod(const QModelIndex& index = QModelIndex()) const; + void createSeparator(const QModelIndex& index = QModelIndex()) const; // check all mods for update // |
