diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-20 12:50:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 12:50:43 +0200 |
commit | 311758233b3ab103bf16c8ad71d9b52f2edbb824 (patch) | |
tree | 58d9dcc7d232b4d14f5ea820245be4bd18d57275 /launcher/minecraft/mod/tasks/ModFolderLoadTask.h | |
parent | 6e086eb808bf1442de51c6d097e6235d818b35c6 (diff) | |
parent | 2f5e55bea05c600d0ff44678f7a79ea7e276ee6d (diff) | |
download | PrismLauncher-311758233b3ab103bf16c8ad71d9b52f2edbb824.tar.gz PrismLauncher-311758233b3ab103bf16c8ad71d9b52f2edbb824.tar.bz2 PrismLauncher-311758233b3ab103bf16c8ad71d9b52f2edbb824.zip |
Merge pull request #1044 from flowln/better_orphan_fix
Diffstat (limited to 'launcher/minecraft/mod/tasks/ModFolderLoadTask.h')
-rw-r--r-- | launcher/minecraft/mod/tasks/ModFolderLoadTask.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/tasks/ModFolderLoadTask.h b/launcher/minecraft/mod/tasks/ModFolderLoadTask.h index 0b6bb6cc..1f2015d2 100644 --- a/launcher/minecraft/mod/tasks/ModFolderLoadTask.h +++ b/launcher/minecraft/mod/tasks/ModFolderLoadTask.h @@ -56,7 +56,7 @@ public: } public: - ModFolderLoadTask(QDir& mods_dir, QDir& index_dir, bool is_indexed); + ModFolderLoadTask(QDir& mods_dir, QDir& index_dir, bool is_indexed, bool clean_orphan = false); void run(); signals: void succeeded(); @@ -67,5 +67,6 @@ private: private: QDir& m_mods_dir, m_index_dir; bool m_is_indexed; + bool m_clean_orphan; ResultPtr m_result; }; |