From d1c42e69c1819def3098bfac0fd96f2eb39226e9 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 7 Jun 2020 17:44:06 +0200 Subject: Make even the last direct call to checkForProblemsImpl use the async version. --- src/mainwindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index ac172474..14987c0d 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -248,7 +248,7 @@ private: bool extractProgress(QProgressDialog &extractProgress, int percentage, std::string fileName); // Performs checks, sets the m_NumberOfProblems and signals checkForProblemsDone(). - void checkForProblems(); + void checkForProblemsImpl(); void setCategoryListVisible(bool visible); @@ -535,7 +535,7 @@ private slots: void scheduleCheckForProblems(); // Perform the actual problem check in another thread. - void checkForProblemsAsync(); + QFuture checkForProblemsAsync(); void saveModMetas(); -- cgit v1.3.1