Remove debugging messages from QDBusConnection::registerObject
Qt does not print debugging in released versions. We print warnings in case of error in using the API, but that's not the case here. Change-Id: I14d54be5d6a1d4e1f147afd091ba850670972cdf Reviewed-by: David Faure (KDE) <faure@kde.org>
This commit is contained in:
parent
57aed703d2
commit
fb5bbea031
@ -820,8 +820,8 @@ bool QDBusConnection::registerObject(const QString &path, QObject *object, Regis
|
|||||||
|
|
||||||
// if a virtual object occupies this path, return false
|
// if a virtual object occupies this path, return false
|
||||||
if (node->obj && (node->flags & QDBusConnectionPrivate::VirtualObject) && (node->flags & QDBusConnection::SubPath)) {
|
if (node->obj && (node->flags & QDBusConnectionPrivate::VirtualObject) && (node->flags & QDBusConnection::SubPath)) {
|
||||||
qDebug("Cannot register object at %s because QDBusVirtualObject handles all sub-paths.",
|
//qDebug("Cannot register object at %s because QDBusVirtualObject handles all sub-paths.",
|
||||||
qPrintable(path));
|
// qPrintable(path));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -835,8 +835,8 @@ bool QDBusConnection::registerObject(const QString &path, QObject *object, Regis
|
|||||||
// are we allowed to go deeper?
|
// are we allowed to go deeper?
|
||||||
if (node->flags & ExportChildObjects) {
|
if (node->flags & ExportChildObjects) {
|
||||||
// we're not
|
// we're not
|
||||||
qDebug("Cannot register object at %s because %s exports its own child objects",
|
//qDebug("Cannot register object at %s because %s exports its own child objects",
|
||||||
qPrintable(path), qPrintable(pathComponents.at(i)));
|
// qPrintable(path), qPrintable(pathComponents.at(i)));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user