forked from qt-creator/qt-creator
QmlProfiler: Fix variable name
Change-Id: I01e8981c440d7e6fe35793b659f477fb8da85e06 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -287,10 +287,10 @@ void QmlProfilerTool::updateRunActions()
|
||||
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 tooltip = tr("Start QML Profiler analysis.");
|
||||
bool canRun = ProjectExplorerPlugin::canRunStartupProject
|
||||
(ProjectExplorer::Constants::QML_PROFILER_RUN_MODE, &whyNot);
|
||||
d->m_startAction->setToolTip(whyNot);
|
||||
d->m_startAction->setToolTip(tooltip);
|
||||
d->m_startAction->setEnabled(canRun);
|
||||
d->m_stopAction->setEnabled(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user