Skip to content
Snippets Groups Projects
Commit 29051539 authored by Kai Koehne's avatar Kai Koehne
Browse files

Don't crash if one tries to debug a qml project

Quick fix. Actually there should be IMO no way to start the debugger
for a qmlproject in the frist place.
parent a014c02c
No related merge requests found
......@@ -131,8 +131,9 @@ DebuggerRunControl::DebuggerRunControl(DebuggerManager *manager,
break;
}
if (const ProjectExplorer::Project *project = runConfiguration->project()) {
m_startParameters->buildDir =
project->activeBuildConfiguration()->buildDirectory();
if (project->activeBuildConfiguration())
m_startParameters->buildDir =
project->activeBuildConfiguration()->buildDirectory();
}
m_startParameters->useTerminal =
runConfiguration->runMode() == LocalApplicationRunConfiguration::Console;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment