summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2023-11-05 12:37:16 -0600
committerJeremy Rimpo <jrim@rimpo.org>2023-11-05 12:37:16 -0600
commitc48b7d8803c61077a7886c5db0844edef259cab5 (patch)
treeed233560f6464d607593c0d0601d5d28b836f764 /src/organizercore.cpp
parentaf5e04208ab4e27c79e91466273005643e5a7043 (diff)
Download issue fixes
- Add scoped watcher disabler - Disable during mod install - Update interprocess message handler to fix 'unable to communicate' issues
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index c06bbae2..5bc3851c 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -831,6 +831,8 @@ OrganizerCore::doInstall(const QString& archivePath, GuessedValue<QString> modNa
ModInfo::Ptr OrganizerCore::installDownload(int index, int priority)
{
+ ScopedDisableDirWatcher scopedDirwatcher(&m_DownloadManager);
+
try {
QString fileName = m_DownloadManager.getFilePath(index);
QString gameName = m_DownloadManager.getGameName(index);