From 56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 26 Apr 2017 13:19:49 +0200 Subject: Fixed build error --- common/notifier.cpp | 4 ++-- 1 file 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: void listenForNotifications(const QSharedPointer &access) { QObject::connect(access.data(), &ResourceAccess::notification, &context, [this](const Notification ¬ification) { - for (const auto &handler : handler) { - handler(notification); + for (const auto &h : handler) { + h(notification); } }); resourceAccess << access; -- cgit v1.2.3