diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-11-19 09:04:16 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-11-19 10:53:18 (GMT) |
commit | f01c631f84f9373b06d0572bfed7a4e8213a46a7 (patch) | |
tree | 097a1ad428023cfdb8b9f403824c5e40776040b6 /src/dbus | |
parent | db1cff73726ff12d50139769dc8071f9e9173261 (diff) | |
download | Qt-f01c631f84f9373b06d0572bfed7a4e8213a46a7.zip Qt-f01c631f84f9373b06d0572bfed7a4e8213a46a7.tar.gz Qt-f01c631f84f9373b06d0572bfed7a4e8213a46a7.tar.bz2 |
Disable the deprecation warning for this signal since we're using it now
Task-number: QTBUG-5972
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/qdbusconnectioninterface.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dbus/qdbusconnectioninterface.cpp b/src/dbus/qdbusconnectioninterface.cpp index 414d318..3b38432 100644 --- a/src/dbus/qdbusconnectioninterface.cpp +++ b/src/dbus/qdbusconnectioninterface.cpp @@ -337,11 +337,6 @@ 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))); } } |