diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-03-27 19:01:53 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-03-27 19:01:53 -0700 |
commit | a0045ece075d5caf5d0b6982002dd6bd845ddf0f (patch) | |
tree | dfe725a959d5997281c0c9051d9cfd120d7cd6e3 /launcher/ui/dialogs | |
parent | ef50e5595e2b4c50a0f25534ca71e6d898c5b090 (diff) | |
download | PrismLauncher-a0045ece075d5caf5d0b6982002dd6bd845ddf0f.tar.gz PrismLauncher-a0045ece075d5caf5d0b6982002dd6bd845ddf0f.tar.bz2 PrismLauncher-a0045ece075d5caf5d0b6982002dd6bd845ddf0f.zip |
feat: add setting to watch recursively
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/BlockedModsDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/BlockedModsDialog.cpp b/launcher/ui/dialogs/BlockedModsDialog.cpp index ac06625e..36df5f46 100644 --- a/launcher/ui/dialogs/BlockedModsDialog.cpp +++ b/launcher/ui/dialogs/BlockedModsDialog.cpp @@ -185,7 +185,8 @@ void BlockedModsDialog::setupWatch() { const QString downloadsFolder = APPLICATION->settings()->get("DownloadsDir").toString(); const QString modsFolder = APPLICATION->settings()->get("CentralModsDir").toString(); - watchPath(downloadsFolder, true); + const bool downloadsFolderWatchRecursive = APPLICATION->settings()->get("DownloadsDirWatchRecursive").toBool(); + watchPath(downloadsFolder, downloadsFolderWatchRecursive); watchPath(modsFolder, true); } |