aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-09-05 15:25:29 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-09-05 14:26:03 +0000
commitfd8b9235b029faba3591a107950cb0123ced4f79 (patch)
tree9f21ca2c9bd3a5cd4ba588da9c5fc9733a0f8daa
parent4bf1474aa0ec6f4aaf3757a3d3774202a16af628 (diff)
QmlDesigner: Remove superfluous check
Change-Id: I633209126f6de6aa231c9ee60a529c73377c440f Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
index ae47586641..e71ceef485 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
@@ -264,9 +264,6 @@ PropertyEditorValue *PropertyEditorQmlBackend::propertyValueForName(const QStrin
void PropertyEditorQmlBackend::setup(const QmlObjectNode &qmlObjectNode, const QString &stateName, const QUrl &qmlSpecificsFile, PropertyEditorView *propertyEditor)
{
- if (!qmlObjectNode.isValid())
- return;
-
if (qmlObjectNode.isValid()) {
m_contextObject->setModel(propertyEditor->model());