summaryrefslogtreecommitdiffstats
path: root/common/notifier.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-26 13:19:49 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-26 13:19:49 +0200
commit9450bcb17d9633e56bf43242463583ae9c0c53e9 (patch)
tree45b51ab0a07dbcefe31ceaf5ef2f4d4bb301604a /common/notifier.cpp
parentfcc89a201a06ede057dae86d4591199bf69fab50 (diff)
downloadsink-9450bcb17d9633e56bf43242463583ae9c0c53e9.tar.gz
sink-9450bcb17d9633e56bf43242463583ae9c0c53e9.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;