summaryrefslogtreecommitdiffstats
path: root/common/notifier.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-26 13:19:49 +0200
committerJonathan Riddell <jr@jriddell.org>2017-04-26 12:24:51 +0100
commit56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (patch)
tree460324d52ab5d327cc4f080f30ca057c8f45121c /common/notifier.cpp
parent12f533b7c1d38441d0be68c65f608063ca3260fd (diff)
downloadsink-56fae95f49a1ca8ca614bd9f89b0ea5f872765e9.tar.gz
sink-56fae95f49a1ca8ca614bd9f89b0ea5f872765e9.zip
Fixed build error
Diffstat (limited to 'common/notifier.cpp')
-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;