From a8ac06a852d105f0fff29379fbfb201c156df396 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Thu, 25 Jun 2020 12:10:55 +0200 Subject: [PATCH] qmldesigner: reduce noise removes unnecessary: "PropertyEditor: invalid node for setup" while reseting the view. Change-Id: Ib4583e97ed5a52ff87116e4231f4bf6b4f4cc7e5 Reviewed-by: Thomas Hartmann --- .../components/propertyeditor/propertyeditorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index 5307bf522b3..61c40b95606 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -470,8 +470,8 @@ void PropertyEditorView::setupQmlBackend() if (m_selectedNode.isValid()) { qmlObjectNode = QmlObjectNode(m_selectedNode); Q_ASSERT(qmlObjectNode.isValid()); + currentQmlBackend->setup(qmlObjectNode, currentStateName, qmlSpecificsFile, this); } - currentQmlBackend->setup(qmlObjectNode, currentStateName, qmlSpecificsFile, this); currentQmlBackend->context()->setContextProperty("finishedNotify", QVariant(false)); if (specificQmlData.isEmpty()) currentQmlBackend->contextObject()->setSpecificQmlData(specificQmlData);