From 2b4c0288b4c8315a311ffb74e9c1088ce2ad8543 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 7 Jun 2020 14:32:54 +0200 Subject: Make a couple more calls async since there is no good reason not to. --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') 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(), this); problems.exec(); - checkForProblems(); + checkForProblemsAsync(); } void MainWindow::on_actionChange_Game_triggered() -- cgit v1.3.1