aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-03-05 13:39:00 +0100
committerGitHub <noreply@github.com>2023-03-05 13:39:00 +0100
commitf3f0652d2ba06d567c02ec2f0b85bfa97d465d98 (patch)
tree6bf189684cd1ae1db6ddac90cabdb42cbb14668a /launcher/minecraft/mod/ModFolderModel.cpp
parentaae60334d1d7a9dbc26bca634d1b34257c7b9566 (diff)
parent01c4ed232e67c1b980a0c091c4c277722811d3dc (diff)
downloadPrismLauncher-f3f0652d2ba06d567c02ec2f0b85bfa97d465d98.tar.gz
PrismLauncher-f3f0652d2ba06d567c02ec2f0b85bfa97d465d98.tar.bz2
PrismLauncher-f3f0652d2ba06d567c02ec2f0b85bfa97d465d98.zip
Merge pull request #853 from kumquat-ir/nil
NilLoader mod metadata support
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.cpp b/launcher/minecraft/mod/ModFolderModel.cpp
index f258ad69..3f31b93c 100644
--- a/launcher/minecraft/mod/ModFolderModel.cpp
+++ b/launcher/minecraft/mod/ModFolderModel.cpp
@@ -50,7 +50,7 @@
#include "minecraft/mod/tasks/ModFolderLoadTask.h"
#include "modplatform/ModIndex.h"
-ModFolderModel::ModFolderModel(const QString &dir, bool is_indexed) : ResourceFolderModel(QDir(dir)), m_is_indexed(is_indexed)
+ModFolderModel::ModFolderModel(const QString &dir, bool is_indexed, bool create_dir) : ResourceFolderModel(QDir(dir), nullptr, create_dir), m_is_indexed(is_indexed)
{
m_column_sort_keys = { SortType::ENABLED, SortType::NAME, SortType::VERSION, SortType::DATE, SortType::PROVIDER };
}