aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertool.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2019-03-13 13:23:06 +0100
committerRobert Loehning <robert.loehning@qt.io>2019-03-13 12:25:57 +0000
commit3115d082d36d58e878965675d9fd8573b5b83cd3 (patch)
tree19a316bf37f4fd590f8daaa7197c81d7f6064675 /src/plugins/qmlprofiler/qmlprofilertool.cpp
parent83f54fda0d4f59d979d1b8415c99e4b23a2066f0 (diff)
QmlProfiler: Compile fix
Change-Id: Ie9d593179c26a24a473de9d537968aabaffc67c5 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp
index 13f87b3889b..2e48a9882bb 100644
--- a/src/plugins/qmlprofiler/qmlprofilertool.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp
@@ -289,7 +289,7 @@ void QmlProfilerTool::updateRunActions()
} else {
QString tooltip = tr("Start QML Profiler analysis.");
bool canRun = ProjectExplorerPlugin::canRunStartupProject
- (ProjectExplorer::Constants::QML_PROFILER_RUN_MODE, &whyNot);
+ (ProjectExplorer::Constants::QML_PROFILER_RUN_MODE, &tooltip);
d->m_startAction->setToolTip(tooltip);
d->m_startAction->setEnabled(canRun);
d->m_stopAction->setEnabled(false);