forked from qt-creator/qt-creator
CMakePM: Fix crash when runing qtcreator -test CMakeProjectManager
Change-Id: I3535c1edd0c72eba3c1bcd50234baeb4c1acecc5 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -149,6 +149,7 @@ CMakeManager::CMakeManager()
|
|||||||
Constants::RUN_CMAKE_PROFILER,
|
Constants::RUN_CMAKE_PROFILER,
|
||||||
globalContext);
|
globalContext);
|
||||||
command->setDescription(m_cmakeProfilerAction->text());
|
command->setDescription(m_cmakeProfilerAction->text());
|
||||||
|
if (manalyzer)
|
||||||
manalyzer->addAction(command, Debugger::Constants::G_ANALYZER_TOOLS);
|
manalyzer->addAction(command, Debugger::Constants::G_ANALYZER_TOOLS);
|
||||||
connect(m_cmakeProfilerAction, &QAction::triggered, this, [this] {
|
connect(m_cmakeProfilerAction, &QAction::triggered, this, [this] {
|
||||||
runCMakeWithProfiling(ProjectManager::startupBuildSystem());
|
runCMakeWithProfiling(ProjectManager::startupBuildSystem());
|
||||||
|
|||||||
Reference in New Issue
Block a user