aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2014-12-02 18:26:46 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-12-05 05:50:59 +0100
commitfdf004803d036583f58ceb832803cfe39c6ba6d8 (patch)
treec431492473206287096dfcf99201e8c76fffda91
parent6601789fd75dfe1abe294e45b97b5433a7f52465 (diff)
QQmlInspectorService: handle views only with supported plugins.v5.4.0
Task-number: QTBUG-43048 Change-Id: I5b32bd0a1e28fdf56b5346580daf21e7ec1b9f8c Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
-rw-r--r--src/qml/debugger/qqmlinspectorservice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmlinspectorservice.cpp b/src/qml/debugger/qqmlinspectorservice.cpp
index 31fa9bddef..89c2c17c45 100644
--- a/src/qml/debugger/qqmlinspectorservice.cpp
+++ b/src/qml/debugger/qqmlinspectorservice.cpp
@@ -106,6 +106,7 @@ void QQmlInspectorService::updateState()
return;
}
+ m_currentInspectorPlugin = 0;
foreach (QQmlInspectorInterface *inspector, m_inspectorPlugins) {
if (inspector->canHandleView(m_views.first())) {
m_currentInspectorPlugin = inspector;