Commit 4201f3f5 authored by Kai Koehne's avatar Kai Koehne

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

This reverts commit 29051539.
Superseded by e08783f86d27525566d0a396d8831e2db2bc761d.
parent 80963107
......@@ -131,9 +131,8 @@ DebuggerRunControl::DebuggerRunControl(DebuggerManager *manager,
break;
}
if (const ProjectExplorer::Project *project = runConfiguration->project()) {
if (project->activeBuildConfiguration())
m_startParameters->buildDir =
project->activeBuildConfiguration()->buildDirectory();
m_startParameters->buildDir =
project->activeBuildConfiguration()->buildDirectory();
}
m_startParameters->useTerminal =
runConfiguration->runMode() == LocalApplicationRunConfiguration::Console;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment