Commit 9e3e84ab authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.Navigator: Remove node creation in view attachment

Create a node if a view is attached is not support. Anyway the return
value is constant so it can be replaced by a constant value.
parent 32c45cfc
......@@ -370,8 +370,7 @@ void NavigatorTreeModel::setView(AbstractView *view)
m_view = view;
if (view) {
ModelNode sampleItemNode(m_view->createModelNode("Qt/Item", 4, 7));
m_hiddenProperties << visibleProperties(sampleItemNode);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment