forked from qt-creator/qt-creator
QmlProfiler: Compile fix
Change-Id: Ie9d593179c26a24a473de9d537968aabaffc67c5 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
committed by
Robert Loehning
parent
83f54fda0d
commit
3115d082d3
@@ -289,7 +289,7 @@ void QmlProfilerTool::updateRunActions()
|
|||||||
} else {
|
} else {
|
||||||
QString tooltip = tr("Start QML Profiler analysis.");
|
QString tooltip = tr("Start QML Profiler analysis.");
|
||||||
bool canRun = ProjectExplorerPlugin::canRunStartupProject
|
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->setToolTip(tooltip);
|
||||||
d->m_startAction->setEnabled(canRun);
|
d->m_startAction->setEnabled(canRun);
|
||||||
d->m_stopAction->setEnabled(false);
|
d->m_stopAction->setEnabled(false);
|
||||||
|
Reference in New Issue
Block a user