From 0dc66e7ff4e4561d7b7f9ffbc3158a0e1bf5a2ec Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 7 Jun 2020 16:42:18 +0200 Subject: Avoid executing Problems checks concurrently. Reduce timer to 500ms. Make other calls also scheduled. --- src/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.h') 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 m_NumberOfProblems; + std::atomic m_CheckingForProblems; + QMutex m_CheckForProblemsMutex; Executable* getSelectedExecutable(); -- cgit v1.3.1