summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/notifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/notifier.cpp b/common/notifier.cpp
index f52e28b..1af65e9 100644
--- a/common/notifier.cpp
+++ b/common/notifier.cpp
@@ -40,8 +40,8 @@ public:
40 void listenForNotifications(const QSharedPointer<ResourceAccess> &access) 40 void listenForNotifications(const QSharedPointer<ResourceAccess> &access)
41 { 41 {
42 QObject::connect(access.data(), &ResourceAccess::notification, &context, [this](const Notification &notification) { 42 QObject::connect(access.data(), &ResourceAccess::notification, &context, [this](const Notification &notification) {
43 for (const auto &handler : handler) { 43 for (const auto &h : handler) {
44 handler(notification); 44 h(notification);
45 } 45 }
46 }); 46 });
47 resourceAccess << access; 47 resourceAccess << access;