summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-19 09:01:47 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-20 13:44:05 (GMT)
commita06da644f9293424f0f537c1d9288796403cd979 (patch)
tree9960f98dc684233c83b9e442f6d16054d34b6ff0 /src
parent798227f23015734285339f904385ce4f0ec9bbfd (diff)
downloadQt-a06da644f9293424f0f537c1d9288796403cd979.zip
Qt-a06da644f9293424f0f537c1d9288796403cd979.tar.gz
Qt-a06da644f9293424f0f537c1d9288796403cd979.tar.bz2
Revert "Stop using the NameOwnerChanged signal without arg0 in QtDBus itself"
This partially reverts commit 1176ecf0b533279e5a1c97f183e5c5f1c57fb188. Task-number: QTBUG-5972 (cherry picked from commit db1cff73726ff12d50139769dc8071f9e9173261)
Diffstat (limited to 'src')
-rw-r--r--src/dbus/qdbusconnection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp
index b2a88ef..79ac8de 100644
--- a/src/dbus/qdbusconnection.cpp
+++ b/src/dbus/qdbusconnection.cpp
@@ -1005,6 +1005,9 @@ 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)),