diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-23 17:29:58 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-23 17:29:58 +0300 |
commit | 90df092174c86bf3328146f4da7908ecbcfbc0b2 (patch) | |
tree | a58d51624febc5ceef1724ca204930e20f852fa8 /launcher/minecraft/mod/ModFolderModel.h | |
parent | 85495c794de2b7c9ae64bbf43156b3e4e6ecfed0 (diff) | |
parent | 8df5ab8aa7ec32ee3c44e2b57dc9c9f04e093d9d (diff) | |
download | PrismLauncher-90df092174c86bf3328146f4da7908ecbcfbc0b2.tar.gz PrismLauncher-90df092174c86bf3328146f4da7908ecbcfbc0b2.tar.bz2 PrismLauncher-90df092174c86bf3328146f4da7908ecbcfbc0b2.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.h')
-rw-r--r-- | launcher/minecraft/mod/ModFolderModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.h b/launcher/minecraft/mod/ModFolderModel.h index d337fe29..6ccaba23 100644 --- a/launcher/minecraft/mod/ModFolderModel.h +++ b/launcher/minecraft/mod/ModFolderModel.h @@ -64,6 +64,7 @@ public: enum Columns { ActiveColumn = 0, + ImageColumn, NameColumn, VersionColumn, DateColumn, @@ -77,6 +78,8 @@ public: }; ModFolderModel(const QString &dir, BaseInstance* instance, bool is_indexed = false, bool create_dir = true); + virtual QString id() const override { return "mods"; } + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; |