forked from qt-creator/qt-creator
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: Aurindam Jana <aurindam.jana@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -314,10 +314,6 @@ void DebuggerRunConfigurationAspect::ctor()
|
|||||||
{
|
{
|
||||||
connect(this, SIGNAL(debuggersChanged()),
|
connect(this, SIGNAL(debuggersChanged()),
|
||||||
m_runConfiguration, SIGNAL(requestRunActionsUpdate()));
|
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
|
} // namespace Debugger
|
||||||
|
|||||||
Reference in New Issue
Block a user