summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-19 12:20:47 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-11-24 20:29:53 (GMT)
commit70d0d80e5cc11f98778234ddd20ce668551e9d9d (patch)
treee6e2b1daabcbe18b06ccd17e8d9d42a8f17e7d96 /src
parent76f61c87fcdaabef668babb79e3da2fe87c1d9cc (diff)
downloadQt-70d0d80e5cc11f98778234ddd20ce668551e9d9d.zip
Qt-70d0d80e5cc11f98778234ddd20ce668551e9d9d.tar.gz
Qt-70d0d80e5cc11f98778234ddd20ce668551e9d9d.tar.bz2
Revert "Disable the deprecation warning for this signal since we're using it now"
This reverts commit f01c631f84f9373b06d0572bfed7a4e8213a46a7.
Diffstat (limited to 'src')
-rw-r--r--src/dbus/qdbusconnectioninterface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dbus/qdbusconnectioninterface.cpp b/src/dbus/qdbusconnectioninterface.cpp
index 3b38432..414d318 100644
--- a/src/dbus/qdbusconnectioninterface.cpp
+++ b/src/dbus/qdbusconnectioninterface.cpp
@@ -337,6 +337,11 @@ void QDBusConnectionInterface::connectNotify(const char *signalName)
QDBusAbstractInterface::connectNotify(SIGNAL(NameLost(QString)));
else if (qstrcmp(signalName, SIGNAL(serviceOwnerChanged(QString,QString,QString))) == 0) {
+ static bool warningPrinted = false;
+ if (!warningPrinted) {
+ qWarning("Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)");
+ warningPrinted = true;
+ }
QDBusAbstractInterface::connectNotify(SIGNAL(NameOwnerChanged(QString,QString,QString)));
}
}