From 838216ab5b37388aa169e7e73878be3567628d90 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 5 Apr 2016 10:55:27 +0200 Subject: [PATCH] QML Profiler: Fix capitalization of UI text - Qml > QML - When an icon tooltip can be considered an action name, use book style capitalization and no punctuation. Change-Id: I7ea6f4976f988c462160a4cdbecf14a792f8ca3f Reviewed-by: Ulf Hermann --- src/plugins/qmlprofiler/qmlprofilertool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 1d822a9cd9d..66dfa693768 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -295,10 +295,10 @@ void QmlProfilerTool::updateRunActions() { if (d->m_toolBusy) { d->m_startAction->setEnabled(false); - d->m_startAction->setToolTip(tr("A Qml Profiler analysis is still in progress.")); + d->m_startAction->setToolTip(tr("A QML Profiler analysis is still in progress.")); d->m_stopAction->setEnabled(true); } else { - QString whyNot = tr("Start Qml Profiler analysis."); + QString whyNot = tr("Start QML Profiler analysis."); bool canRun = ProjectExplorerPlugin::canRunStartupProject (ProjectExplorer::Constants::QML_PROFILER_RUN_MODE, &whyNot); d->m_startAction->setToolTip(whyNot); @@ -429,7 +429,7 @@ void QmlProfilerTool::recordingButtonChanged(bool recording) void QmlProfilerTool::setRecording(bool recording) { // update display - d->m_recordButton->setToolTip( recording ? tr("Disable profiling") : tr("Enable profiling")); + d->m_recordButton->setToolTip( recording ? tr("Disable Profiling") : tr("Enable Profiling")); d->m_recordButton->setIcon(QIcon(recording ? QLatin1String(":/qmlprofiler/recordOn.png") : QLatin1String(":/qmlprofiler/recordOff.png")));