diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-18 12:26:13 +0200 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-19 11:35:39 +0200 |
commit | f2d25d4710a5676609381cfb94ca481e9935aab4 (patch) | |
tree | 22ea15c2e66b4b7ae1e8944a491decbe67ee5062 | |
parent | 0f0aca09cb5711bc71ace890de9a0b09b7c39ebd (diff) | |
download | qt-creator-f2d25d4710a5676609381cfb94ca481e9935aab4.tar.gz |
QML debugger: show the QML ui by default
Only switch to C++ when we debug Javascript
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index b1ebfb1195..063dd97c18 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -161,6 +161,9 @@ void QmlEngine::runEngine() m_adapter->beginConnection(); plugin()->showMessage(tr("QML Debugger connecting..."), StatusBar); + + // FIXME: refactor the UI + Debugger::DebuggerUISwitcher::instance()->setActiveLanguage("QML"); } void QmlEngine::shutdownInferior() |