diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp index a43bb4d1f98..23b83f49000 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp @@ -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; diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 53f412cc860..be95ab4689e 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -448,7 +448,7 @@ void QmlProfilerTool::startTool(StartMode mode) } } -void QmlProfilerTool::logStatus(const QString &msg) +void QmlProfilerTool::logState(const QString &msg) { MessageManager::write(msg, Core::MessageManager::Flash); } diff --git a/src/plugins/qmlprofiler/qmlprofilertool.h b/src/plugins/qmlprofiler/qmlprofilertool.h index e18a0d8904c..49ab19592df 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.h +++ b/src/plugins/qmlprofiler/qmlprofilertool.h @@ -62,7 +62,7 @@ public: // display dialogs / log output static QMessageBox *requestMessageBox(); static void handleHelpRequest(const QString &link); - static void logStatus(const QString &msg); + static void logState(const QString &msg); static void logError(const QString &msg); static void showNonmodalWarning(const QString &warningMsg);