summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-18 12:26:13 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-19 11:35:39 +0200
commitf2d25d4710a5676609381cfb94ca481e9935aab4 (patch)
tree22ea15c2e66b4b7ae1e8944a491decbe67ee5062
parent0f0aca09cb5711bc71ace890de9a0b09b7c39ebd (diff)
downloadqt-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.cpp3
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()