diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-12-31 21:56:11 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-02 02:18:24 (GMT) |
commit | 06bdf48e9194d73075041efecde5c70a144d6927 (patch) | |
tree | f53d680768e899ed5430cb871e88d92377a523c1 /src/dbus/qdbusconnection.cpp | |
parent | 200413f08334574108fdb07efaa7648f90209a8f (diff) | |
download | Qt-06bdf48e9194d73075041efecde5c70a144d6927.zip Qt-06bdf48e9194d73075041efecde5c70a144d6927.tar.gz Qt-06bdf48e9194d73075041efecde5c70a144d6927.tar.bz2 |
Remove the need to know the service owner when adding/removing signal rules.
Task-number: QTBUG-5979
Reviewed-By: TrustMe
Diffstat (limited to 'src/dbus/qdbusconnection.cpp')
-rw-r--r-- | src/dbus/qdbusconnection.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp index d7088ff..47893cc 100644 --- a/src/dbus/qdbusconnection.cpp +++ b/src/dbus/qdbusconnection.cpp @@ -619,10 +619,8 @@ bool QDBusConnection::connect(const QString &service, const QString &path, const if (interface.isEmpty() && name.isEmpty()) return false; - QString owner = d->getNameOwner(service); // we don't care if the owner is empty - // it might get started later QDBusWriteLocker locker(ConnectAction, d); - return d->connectSignal(service, owner, path, interface, name, argumentMatch, signature, receiver, slot); + return d->connectSignal(service, path, interface, name, argumentMatch, signature, receiver, slot); } /*! |