summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 14:31:32 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-06-07 14:31:32 +0200
commit30605e8381638d527d1a6656d216643b9be1f9b5 (patch)
treeb47d601a122c32bbd8a92fdbb465c735965e8c9b /src
parenta30ec0018bfa9056492cab100321ebfcb7b0672e (diff)
Make m_NumberOfProblems atomic
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
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<std::size_t> m_NumberOfProblems;
Executable* getSelectedExecutable();