aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-06-13 22:03:12 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-06-13 22:07:42 +0200
commit4be9e6a0bc0a4ac6b47ead7008b8a6a811c63b4d (patch)
treeef3cc0ad8505dafe561d19a1cd7a55a5c7c197bb /launcher/minecraft/mod/ModFolderModel.h
parenta4ef0940ed76d646db1b1be1224da2baab4be9e2 (diff)
downloadPrismLauncher-4be9e6a0bc0a4ac6b47ead7008b8a6a811c63b4d.tar.gz
PrismLauncher-4be9e6a0bc0a4ac6b47ead7008b8a6a811c63b4d.tar.bz2
PrismLauncher-4be9e6a0bc0a4ac6b47ead7008b8a6a811c63b4d.zip
refactor: make is_indexed false by default
Co-authored-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.h')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.h b/launcher/minecraft/mod/ModFolderModel.h
index fcedae96..24b4d358 100644
--- a/launcher/minecraft/mod/ModFolderModel.h
+++ b/launcher/minecraft/mod/ModFolderModel.h
@@ -73,7 +73,7 @@ public:
Enable,
Toggle
};
- ModFolderModel(const QString &dir, bool is_indexed);
+ ModFolderModel(const QString &dir, bool is_indexed = false);
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;