summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 18:51:02 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 18:51:02 +0200
commitd845fe9a74c9e0943defe5025b81c017a3fab41b (patch)
tree0331ff346f0885af0407af16b452d7371e03b2ff /src/mainwindow.h
parentd1c42e69c1819def3098bfac0fd96f2eb39226e9 (diff)
Make checks that occur at the same time not return immediately to avoid issues with stuff that might need to rely on check completion.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
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<std::size_t> m_NumberOfProblems;
- std::atomic<bool> m_CheckingForProblems;
- QMutex m_CheckForProblemsMutex;
+ std::atomic<bool> m_ProblemsCheckRequired;
+ std::mutex m_CheckForProblemsMutex;
Executable* getSelectedExecutable();