aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.cpp
diff options
context:
space:
mode:
authorkumquat-ir <66188216+kumquat-ir@users.noreply.github.com>2023-02-13 01:45:23 -0500
committerkumquat-ir <66188216+kumquat-ir@users.noreply.github.com>2023-02-13 01:45:23 -0500
commit9c2a3231c5ee1b15b09bae9b064827ad3dcb86e0 (patch)
tree090fa87f11799b202aff67c4e677ade4c328674f /launcher/minecraft/mod/ModFolderModel.cpp
parentc07fff750354e23149470d493a7c96624fe2ab26 (diff)
downloadPrismLauncher-9c2a3231c5ee1b15b09bae9b064827ad3dcb86e0.tar.gz
PrismLauncher-9c2a3231c5ee1b15b09bae9b064827ad3dcb86e0.tar.bz2
PrismLauncher-9c2a3231c5ee1b15b09bae9b064827ad3dcb86e0.zip
do not create nilmods folder
"it cant be that easy" - me, clueless Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
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..2d777656 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), create_dir), m_is_indexed(is_indexed)
{
m_column_sort_keys = { SortType::ENABLED, SortType::NAME, SortType::VERSION, SortType::DATE, SortType::PROVIDER };
}