aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ResourcePackFolderModel.h
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.wip.la>2023-07-04 16:41:34 -0400
committerGitHub <noreply@github.com>2023-07-04 16:41:34 -0400
commit4509fde410beab8687d605d0a7fd39038ab94183 (patch)
tree1835295bdd4a1293a3547f2abef6e0b4cd364278 /launcher/minecraft/mod/ResourcePackFolderModel.h
parent34cf28712c254ba378bdbf728471d0dfbb4ab58f (diff)
parentdedc9e4edc2769c62f33b6564f3009414245d9f3 (diff)
downloadPrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.tar.gz
PrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.tar.bz2
PrismLauncher-4509fde410beab8687d605d0a7fd39038ab94183.zip
Merge branch 'develop' into fix-implicit-fallthrough
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
Diffstat (limited to 'launcher/minecraft/mod/ResourcePackFolderModel.h')
-rw-r--r--launcher/minecraft/mod/ResourcePackFolderModel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ResourcePackFolderModel.h b/launcher/minecraft/mod/ResourcePackFolderModel.h
index db4b14fb..531d8192 100644
--- a/launcher/minecraft/mod/ResourcePackFolderModel.h
+++ b/launcher/minecraft/mod/ResourcePackFolderModel.h
@@ -11,6 +11,7 @@ public:
enum Columns
{
ActiveColumn = 0,
+ ImageColumn,
NameColumn,
PackFormatColumn,
DateColumn,
@@ -19,6 +20,8 @@ public:
explicit ResourcePackFolderModel(const QString &dir, BaseInstance* instance);
+ virtual QString id() const override { return "resourcepacks"; }
+
[[nodiscard]] QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
[[nodiscard]] QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;