diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-26 13:19:49 +0200 |
---|---|---|
committer | Jonathan Riddell <jr@jriddell.org> | 2017-04-26 12:24:51 +0100 |
commit | 56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (patch) | |
tree | 460324d52ab5d327cc4f080f30ca057c8f45121c | |
parent | 12f533b7c1d38441d0be68c65f608063ca3260fd (diff) | |
download | sink-56fae95f49a1ca8ca614bd9f89b0ea5f872765e9.tar.gz sink-56fae95f49a1ca8ca614bd9f89b0ea5f872765e9.zip |
Fixed build error
-rw-r--r-- | common/notifier.cpp | 4 |
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 ¬ification) { | 42 | QObject::connect(access.data(), &ResourceAccess::notification, &context, [this](const Notification ¬ification) { |
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; |