summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-11-28 11:43:00 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-11-28 13:05:42 (GMT)
commite2773a9fc4450dbc8cb1e0736252e7520b5e6bd1 (patch)
treed2b6c190222c978e0658ff6a58f5a41a8182ca87 /src/plugins
parentc26418bb8d0889beb6d4ec36a40fbf0c7ca69c97 (diff)
downloadQt-e2773a9fc4450dbc8cb1e0736252e7520b5e6bd1.zip
Qt-e2773a9fc4450dbc8cb1e0736252e7520b5e6bd1.tar.gz
Qt-e2773a9fc4450dbc8cb1e0736252e7520b5e6bd1.tar.bz2
Declarative: Use qDebug() for debugger status updates
Although "Qml debugging is enabled. Only use this in a safe environment!" is a warning, using qWarning() for it let every app crash that is run with QT_FATAL_WARNINGS. Fix that by using qDebug() for the updates that happen during 'normal' operation. Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Change-Id: Ie37a35ca27ec6e507f7de140484ca8cf96410be2
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp
index 283f7d4..36946d2 100644
--- a/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp
+++ b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp
@@ -152,7 +152,7 @@ void QTcpServerConnection::listen()
d->tcpServer = new QTcpServer(this);
QObject::connect(d->tcpServer, SIGNAL(newConnection()), this, SLOT(newConnection()));
if (d->tcpServer->listen(QHostAddress::Any, d->port)) {
- qWarning("QDeclarativeDebugServer: Waiting for connection on port %d...", d->port);
+ qDebug("QDeclarativeDebugServer: Waiting for connection on port %d...", d->port);
} else {
qWarning("QDeclarativeDebugServer: Unable to listen on port %d", d->port);
}