diff options
author | Javier <dev.git@javispedro.com> | 2015-12-15 02:41:23 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-15 02:41:23 +0100 |
commit | b91c2c3aff5c91d6afb2b9fa2f3ceceaf0642d24 (patch) | |
tree | 15acfc73b7f9587c73ff277f24d6a2f23dcf5481 | |
parent | 3b6a0066ef584a076b1a05dc5524cbfa2e2a0bb6 (diff) | |
download | libwatchfish-b91c2c3aff5c91d6afb2b9fa2f3ceceaf0642d24.tar.gz libwatchfish-b91c2c3aff5c91d6afb2b9fa2f3ceceaf0642d24.zip |
fix crash with the new NotificationMonitorPrivate
-rw-r--r-- | notificationmonitor.cpp | 3 |
1 files changed, 1 insertions, 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<QSocketNotifier*>(q->sender()); + QSocketNotifier *notifier = static_cast<QSocketNotifier*>(sender()); DBusWatch *watch = static_cast<DBusWatch*>(notifier->property("dbus-watch").value<void*>()); dbus_watch_handle(watch, dbus_watch_get_flags(watch)); |