diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-03-07 14:53:24 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-07 16:21:11 +0100 |
commit | 3f9b58c0890a4263730e2c06b46e7a69d4bfb62d (patch) | |
tree | 2f3419ed2035540f9ea4fa00b0b70057c0564698 /src/plugins | |
parent | 51493a03ba60f60b735eb25f2dc3bedd1d8ed592 (diff) |
QML Debugger: Change prefix of warnings
Since we've been changing from QtDeclarativeDebugServer to
QQmlDebugServer anyway, we might as well change it to the more
readable "QML Debugger:" prefix.
Change-Id: I852577233d7cdb1f57adc43ec1b85a14d212574d
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp | 4 | ||||
-rw-r--r-- | src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp index 9bd68e7401..fb18231b94 100644 --- a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp +++ b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp @@ -127,12 +127,12 @@ void QmlOstPlugin::setPort(int port, bool block) if (!ok) { if (d->ost->errorString().length()) qDebug("Error from QOstDevice: %s", qPrintable(d->ost->errorString())); - qWarning("QQmlDebugServer: Unable to listen on OST"); // This message is part of the signalling - do not change the format! + qWarning("QML Debugger: Unable to listen to OST."); // This message is part of the signalling - do not change the format! return; } d->protocol = new QPacketProtocol(d->ost, this); QObject::connect(d->protocol, SIGNAL(readyRead()), this, SLOT(readyRead())); - qWarning("QQmlDebugServer: Waiting for connection via OST"); // This message is part of the signalling - do not change the format! + qWarning("QML Debugger: Waiting for connection via OST."); // This message is part of the signalling - do not change the format! } void QmlOstPlugin::readyRead() diff --git a/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp index 1c5ec37512..2b12f297e4 100644 --- a/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp +++ b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp @@ -147,9 +147,9 @@ 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("QQmlDebugServer: Waiting for connection on port %d...", d->port); + qWarning("QML Debugger: Waiting for connection on port %d...", d->port); else - qWarning("QQmlDebugServer: Unable to listen on port %d", d->port); + qWarning("QML Debugger: Unable to listen to port %d.", d->port); } @@ -170,7 +170,7 @@ void QTcpServerConnection::newConnection() Q_D(QTcpServerConnection); if (d->socket && d->socket->peerPort()) { - qWarning("QQmlDebugServer: Another client is already connected"); + qWarning("QML Debugger: Another client is already connected."); QTcpSocket *faultyConnection = d->tcpServer->nextPendingConnection(); delete faultyConnection; return; @@ -190,7 +190,7 @@ void QTcpServerConnection::newConnection() void QTcpServerConnection::invalidPacket() { - qWarning("QQmlDebugServer: Received a corrupted packet! Giving up ..."); + qWarning("QML Debugger: Received a corrupted packet! Giving up ..."); } QT_END_NAMESPACE |