From b91c2c3aff5c91d6afb2b9fa2f3ceceaf0642d24 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 15 Dec 2015 02:41:23 +0100 Subject: fix crash with the new NotificationMonitorPrivate --- notificationmonitor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notificationmonitor.cpp b/notificationmonitor.cpp index 3b4b035..796c5e0 100644 --- a/notificationmonitor.cpp +++ b/notificationmonitor.cpp @@ -371,8 +371,7 @@ DBusHandlerResult NotificationMonitorPrivate::busMessageFilter(DBusConnection *c void NotificationMonitorPrivate::handleBusSocketActivated() { - Q_Q(NotificationMonitor); - QSocketNotifier *notifier = static_cast(q->sender()); + QSocketNotifier *notifier = static_cast(sender()); DBusWatch *watch = static_cast(notifier->property("dbus-watch").value()); dbus_watch_handle(watch, dbus_watch_get_flags(watch)); -- cgit v1.2.3