QmlProfiler: rename logStatus to logState for consistency

Change-Id: Ic9a19028fc4bde03619296a90f8251e2d6ad1240
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-05-06 15:44:34 +02:00
parent 031666c670
commit 0ef1b78724
3 changed files with 6 additions and 6 deletions

View File

@@ -307,7 +307,7 @@ void QmlProfilerClientManager::connectionStateChanged()
case QAbstractSocket::ConnectingState: {
if (QmlProfilerPlugin::debugOutput)
qWarning("QML Profiler: Connecting to debug server ...");
QmlProfilerTool::logStatus(tr("QML Profiler: Connecting to %1:%2 ...")
QmlProfilerTool::logState(tr("QML Profiler: Connecting to %1:%2 ...")
.arg(d->tcpHost, QString::number(d->tcpPort)));
break;
}
@@ -317,7 +317,7 @@ void QmlProfilerClientManager::connectionStateChanged()
qWarning("QML Profiler: connected and running");
// notify the client recording status
clientRecordingChanged();
QmlProfilerTool::logStatus(tr("QML Profiler: connected and running"));
QmlProfilerTool::logState(tr("QML Profiler: connected and running"));
break;
}
case QAbstractSocket::ClosingState:
@@ -344,9 +344,9 @@ void QmlProfilerClientManager::retryMessageBoxFinished(int result)
}
default: {
if (d->connection)
QmlProfilerTool::logStatus(QLatin1String("QML Profiler: Failed to connect! ") + d->connection->errorString());
QmlProfilerTool::logState(QLatin1String("QML Profiler: Failed to connect! ") + d->connection->errorString());
else
QmlProfilerTool::logStatus(QLatin1String("QML Profiler: Failed to connect!"));
QmlProfilerTool::logState(QLatin1String("QML Profiler: Failed to connect!"));
emit connectionFailed();
break;