forked from qt-creator/qt-creator
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:
@@ -470,8 +470,8 @@ void PropertyEditorView::setupQmlBackend()
|
|||||||
if (m_selectedNode.isValid()) {
|
if (m_selectedNode.isValid()) {
|
||||||
qmlObjectNode = QmlObjectNode(m_selectedNode);
|
qmlObjectNode = QmlObjectNode(m_selectedNode);
|
||||||
Q_ASSERT(qmlObjectNode.isValid());
|
Q_ASSERT(qmlObjectNode.isValid());
|
||||||
}
|
|
||||||
currentQmlBackend->setup(qmlObjectNode, currentStateName, qmlSpecificsFile, this);
|
currentQmlBackend->setup(qmlObjectNode, currentStateName, qmlSpecificsFile, this);
|
||||||
|
}
|
||||||
currentQmlBackend->context()->setContextProperty("finishedNotify", QVariant(false));
|
currentQmlBackend->context()->setContextProperty("finishedNotify", QVariant(false));
|
||||||
if (specificQmlData.isEmpty())
|
if (specificQmlData.isEmpty())
|
||||||
currentQmlBackend->contextObject()->setSpecificQmlData(specificQmlData);
|
currentQmlBackend->contextObject()->setSpecificQmlData(specificQmlData);
|
||||||
|
Reference in New Issue
Block a user