diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-04-07 18:36:35 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-04-07 18:36:35 -0700 |
commit | 2321d9c065c363dac8304ab6c826289adb9c86a7 (patch) | |
tree | 5bc4405a630f14064f1a986c82f85a3d6825e915 /launcher/ui/dialogs/BlockedModsDialog.cpp | |
parent | 62c59820cf21d35f97d79bd75c946cfd282be5b8 (diff) | |
download | PrismLauncher-2321d9c065c363dac8304ab6c826289adb9c86a7.tar.gz PrismLauncher-2321d9c065c363dac8304ab6c826289adb9c86a7.tar.bz2 PrismLauncher-2321d9c065c363dac8304ab6c826289adb9c86a7.zip |
fix: canonical*File*Path()
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs/BlockedModsDialog.cpp')
-rw-r--r-- | launcher/ui/dialogs/BlockedModsDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/BlockedModsDialog.cpp b/launcher/ui/dialogs/BlockedModsDialog.cpp index e7404f2d..f2ef734b 100644 --- a/launcher/ui/dialogs/BlockedModsDialog.cpp +++ b/launcher/ui/dialogs/BlockedModsDialog.cpp @@ -193,7 +193,7 @@ void BlockedModsDialog::setupWatch() void BlockedModsDialog::watchPath(QString path, bool watch_subdirectories) { auto to_watch = QFileInfo(path); - auto to_watch_path = to_watch.canonicalPath(); + auto to_watch_path = to_watch.canonicalFilePath(); if (m_watcher.directories().contains(to_watch_path)) return; // don't watch the same path twice (no loops!) |