summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 3781a4e1..dda731ba 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -804,7 +804,7 @@ OrganizerCore::doInstall(const QString& archivePath, GuessedValue<QString> modNa
return {modIndex, modInfo};
} else {
if (result.result() == MOBase::IPluginInstaller::RESULT_CATEGORYREQUESTED) {
- CategoriesDialog dialog(&pluginContainer(), qApp->activeWindow());
+ CategoriesDialog dialog(qApp->activeWindow());
if (dialog.exec() == QDialog::Accepted) {
dialog.commitChanges();
@@ -831,6 +831,7 @@ 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);