From f4d2be77dac49cde236dbc15c15a70dc8c1b34f2 Mon Sep 17 00:00:00 2001 From: Olivier Goffart <olivier.goffart@nokia.com> Date: Fri, 9 Jul 2010 14:02:20 +0200 Subject: [PATCH] QMLJSInspector: remove warnings and debugs --- src/plugins/qmljsinspector/qmljsclientproxy.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp index 9d253c3e852..ddb918a0d55 100644 --- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp +++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp @@ -64,7 +64,6 @@ bool ClientProxy::connectToViewer(const QString &host, quint16 port) if (m_conn && m_conn->state() != QAbstractSocket::UnconnectedState) return false; - qDebug() << Q_FUNC_INFO; if (m_designClient) { disconnect(m_designClient, SIGNAL(currentObjectsChanged(QList<QDeclarativeDebugObjectReference>)), @@ -157,7 +156,6 @@ void ClientProxy::connectionStateChanged() emit connectionStatusMessage(tr("[Inspector] connected.\n")); if (!m_client) { - qDebug() << "CREATING ENGINE"; m_client = new QDeclarativeEngineDebug(m_conn, this); m_designClient = new QmlJSDesignDebugClient(m_conn, this); emit connected(m_client); @@ -253,12 +251,10 @@ bool ClientProxy::setBindingForObject(int objectDebugId, const QVariant &value, bool isLiteralValue) { - qDebug() << Q_FUNC_INFO; - if (propertyName == QLatin1String("id") || objectDebugId == -1) return false; - qDebug() << "setBindingForObject():" << objectDebugId << propertyName << value << "isLiteral:" << isLiteralValue; +// qDebug() << "setBindingForObject():" << objectDebugId << propertyName << value << "isLiteral:" << isLiteralValue; return m_client->setBindingForObject(objectDebugId, propertyName, value.toString(), isLiteralValue); } @@ -268,7 +264,7 @@ bool ClientProxy::setMethodBodyForObject(int objectDebugId, const QString &metho if (objectDebugId == -1) return 0; - qDebug() << "setMethodBodyForObject():" << objectDebugId << methodName; +// qDebug() << "setMethodBodyForObject():" << objectDebugId << methodName; return m_client->setMethodBody(objectDebugId, methodName, methodBody); } -- GitLab