From 30605e8381638d527d1a6656d216643b9be1f9b5 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sun, 7 Jun 2020 14:31:32 +0200 Subject: Make m_NumberOfProblems atomic --- src/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mainwindow.h b/src/mainwindow.h index 1f66c860..d57b6952 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -359,7 +359,7 @@ private: // when painting the count QIcon m_originalNotificationIcon; - size_t m_NumberOfProblems; + std::atomic m_NumberOfProblems; Executable* getSelectedExecutable(); -- cgit v1.3.1