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

Debugger: Avoid runtime warning when QmlJSInspector plugin is not loaded

Check whether there's actually a toolbar for QML registered.

Change-Id: I58ba1330c2bbc4ac0a8962474662a5e76e902f17
Reviewed-by: default avatarAurindam Jana <>
parent bab2cb5f
......@@ -353,7 +353,8 @@ void DebuggerMainWindowPrivate::activateQmlCppLayout()
ICore *core = ICore::instance();
Context qmlCppContext = m_contextsForLanguage.value(QmlLanguage);
if (m_toolBars.contains(QmlLanguage))
if (m_previousDebugLanguages & QmlLanguage) {
m_dockWidgetActiveStateQmlCpp = q->saveSettings();
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