QmlProfiler: Compile fix

Change-Id: Ie9d593179c26a24a473de9d537968aabaffc67c5
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Alessandro Portale
2019-03-13 13:23:06 +01:00
committed by Robert Loehning
parent 83f54fda0d
commit 3115d082d3

View File

@@ -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);