diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-23 17:35:19 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-28 09:16:54 (GMT) |
commit | 1176ecf0b533279e5a1c97f183e5c5f1c57fb188 (patch) | |
tree | 2af718b03d7e424d4755f68d2328875c1b4850e1 /src/dbus/qdbusconnection.cpp | |
parent | ed75146e45d41ca52b64193acbf433e6d2ceaaf5 (diff) | |
download | Qt-1176ecf0b533279e5a1c97f183e5c5f1c57fb188.zip Qt-1176ecf0b533279e5a1c97f183e5c5f1c57fb188.tar.gz Qt-1176ecf0b533279e5a1c97f183e5c5f1c57fb188.tar.bz2 |
Stop using the NameOwnerChanged signal without arg0 in QtDBus itself
We were using this signal to update the signal hooks when the remote
service changed. That meant each Qt app received every single service
creation, change or destruction.
Now we only watch the services we're really interested in.
Diffstat (limited to 'src/dbus/qdbusconnection.cpp')
-rw-r--r-- | src/dbus/qdbusconnection.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp index 71e433e..d7088ff 100644 --- a/src/dbus/qdbusconnection.cpp +++ b/src/dbus/qdbusconnection.cpp @@ -1005,14 +1005,10 @@ void QDBusConnectionPrivate::setBusService(const QDBusConnection &connection) busService = new QDBusConnectionInterface(connection, this); ref.deref(); // busService has increased the refcounting to us // avoid cyclic refcounting -// if (mode != PeerMode) - QObject::connect(busService, SIGNAL(serviceOwnerChanged(QString,QString,QString)), - this, SIGNAL(serviceOwnerChanged(QString,QString,QString))); QObject::connect(this, SIGNAL(callWithCallbackFailed(QDBusError,QDBusMessage)), busService, SIGNAL(callWithCallbackFailed(QDBusError,QDBusMessage)), Qt::QueuedConnection); - } /*! |