summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 16:42:18 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 16:42:18 +0200
commit0dc66e7ff4e4561d7b7f9ffbc3158a0e1bf5a2ec (patch)
treeb42c069d78bf303856f34e1321afc9b61304cb0f /src/mainwindow.h
parent2b4c0288b4c8315a311ffb74e9c1088ce2ad8543 (diff)
Avoid executing Problems checks concurrently.
Reduce timer to 500ms. Make other calls also scheduled.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 3c0647e0..ac172474 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -360,6 +360,8 @@ private:
QIcon m_originalNotificationIcon;
std::atomic<std::size_t> m_NumberOfProblems;
+ std::atomic<bool> m_CheckingForProblems;
+ QMutex m_CheckForProblemsMutex;
Executable* getSelectedExecutable();