qmldesigner: reduce noise

removes unnecessary:
"PropertyEditor: invalid node for setup"
while reseting the view.

Change-Id: Ib4583e97ed5a52ff87116e4231f4bf6b4f4cc7e5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2020-06-25 12:10:55 +02:00
parent 003282c6f5
commit a8ac06a852

View File

@@ -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);