Commit acf72893 authored by Kai Koehne's avatar Kai Koehne
Browse files

Debugger: Don't check for QML language before project is parsed



Checking for QMLJS in the ctor of the aspect always returns false
for qt4project, since the project hasn't been parsed yet.

Change-Id: I41ce057bda4a1f2cb700e655645eae627990f3be
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 33659ebf
......@@ -314,10 +314,6 @@ void DebuggerRunConfigurationAspect::ctor()
{
connect(this, SIGNAL(debuggersChanged()),
m_runConfiguration, SIGNAL(requestRunActionsUpdate()));
setUseCppDebugger(m_runConfiguration->target()->project()->projectLanguages().contains(
ProjectExplorer::Constants::LANG_CXX));
setUseQmlDebugger(m_runConfiguration->target()->project()->projectLanguages().contains(
ProjectExplorer::Constants::LANG_QMLJS));
}
} // namespace Debugger
......
Supports Markdown
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