diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-12-20 18:38:11 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-01-26 13:15:14 (GMT) |
commit | db3d9b67ac543ddfdac649bec2c1287982d50a4e (patch) | |
tree | 46b862c4389d4f99213c714628b410d4690d280c /src/dbus | |
parent | 861333040c252fa0f53894b604f7cb768c085281 (diff) | |
download | Qt-db3d9b67ac543ddfdac649bec2c1287982d50a4e.zip Qt-db3d9b67ac543ddfdac649bec2c1287982d50a4e.tar.gz Qt-db3d9b67ac543ddfdac649bec2c1287982d50a4e.tar.bz2 |
Change the D-Bus signal filter to return NOT_YET_HANDLED for signals
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/qdbusintegrator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp index adc3408..2e7b052 100644 --- a/src/dbus/qdbusintegrator.cpp +++ b/src/dbus/qdbusintegrator.cpp @@ -558,8 +558,9 @@ bool QDBusConnectionPrivate::handleMessage(const QDBusMessage &amsg) switch (amsg.type()) { case QDBusMessage::SignalMessage: handleSignal(amsg); - return true; - break; + // if there are any other filters in this DBusConnection, + // let them see the signal too + return false; case QDBusMessage::MethodCallMessage: handleObjectCall(amsg); return true; |