aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.h
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-01 13:05:55 +0100
committerGitHub <noreply@github.com>2023-07-01 13:05:55 +0100
commit7138425c8581e19d36ee62e1193a5b7184eb0089 (patch)
treed29efcad3353603c6ac1eb64708a92e616c00ecc /launcher/minecraft/mod/ModFolderModel.h
parent05d2c1f0b06519eba9cc5ad22848106b49f9bd15 (diff)
parentc523765c197cf63d6830d205f1554cd73e38109e (diff)
downloadPrismLauncher-7138425c8581e19d36ee62e1193a5b7184eb0089.tar.gz
PrismLauncher-7138425c8581e19d36ee62e1193a5b7184eb0089.tar.bz2
PrismLauncher-7138425c8581e19d36ee62e1193a5b7184eb0089.zip
Merge branch 'develop' into better-component-installation
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.h')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.h3
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;