From d845fe9a74c9e0943defe5025b81c017a3fab41b Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 7 Jun 2020 18:51:02 +0200 Subject: Make checks that occur at the same time not return immediately to avoid issues with stuff that might need to rely on check completion. --- 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 14987c0d..94626ff3 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -360,8 +360,8 @@ private: QIcon m_originalNotificationIcon; std::atomic m_NumberOfProblems; - std::atomic m_CheckingForProblems; - QMutex m_CheckForProblemsMutex; + std::atomic m_ProblemsCheckRequired; + std::mutex m_CheckForProblemsMutex; Executable* getSelectedExecutable(); -- cgit v1.3.1