summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 14:32:54 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 14:32:54 +0200
commit2b4c0288b4c8315a311ffb74e9c1088ce2ad8543 (patch)
tree91888ac96ff9e8478385faac4a320150ba59bfc4 /src
parent66690bd17677b31ba757dec7524a28f3ee942812 (diff)
Make a couple more calls async since there is no good reason not to.
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 5a56e22b..0bada397 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3789,7 +3789,7 @@ void MainWindow::clearOverwrite()
for (auto f : overwriteDir.entryList(QDir::AllDirs | QDir::Files | QDir::NoDotAndDotDot))
delList.push_back(overwriteDir.absoluteFilePath(f));
if (shellDelete(delList, true)) {
- checkForProblems();
+ checkForProblemsAsync();
m_OrganizerCore.refreshModList();
} else {
const auto e = GetLastError();
@@ -5880,7 +5880,7 @@ void MainWindow::on_actionNotifications_triggered()
ProblemsDialog problems(m_PluginContainer.plugins<QObject>(), this);
problems.exec();
- checkForProblems();
+ checkForProblemsAsync();
}
void MainWindow::on_actionChange_Game_triggered()