diff options
author | Kai Koehne <[email protected]> | 2013-05-28 13:34:34 +0200 |
---|---|---|
committer | Kai Koehne <[email protected]> | 2013-05-28 13:59:26 +0200 |
commit | acf72893c4912a5fe53d2f819d541ae76051b1c9 (patch) | |
tree | 3daac63b78b614a92fc9d7d2527c1edcb302d3f8 /src/plugins/debugger/debuggerrunconfigurationaspect.cpp | |
parent | 33659ebf98a0419ba611db6200c12593a2ca6920 (diff) |
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 <[email protected]>
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerrunconfigurationaspect.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunconfigurationaspect.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp index 5a4a962fbb2..c4c1ee0d70c 100644 --- a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp +++ b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp @@ -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 |