Commit 1175759f authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: Do not use ModelNodeOperations outside of DesignerActions



The ModelNodeOperations are an implementation detail of our
DesignerActions and should not be used in other places.

Change-Id: I495bfd043a6b1dd89952b0e7d2318e429678640b
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 5437faf6
......@@ -29,13 +29,13 @@
#include "designdocument.h"
#include "designdocumentview.h"
#include "documentmanager.h"
#include <metainfo.h>
#include <qmlobjectnode.h>
#include <rewritingexception.h>
#include <nodelistproperty.h>
#include <variantproperty.h>
#include <modelnodeoperations.h>
#include <qmldesignerplugin.h>
#include <viewmanager.h>
......@@ -322,7 +322,7 @@ void DesignDocument::goIntoSelectedComponent()
if (selectedNodes.count() == 1) {
viewManager().setComponentNode(selectedNodes.first());
ModelNodeOperations::goIntoComponent(selectedNodes.first());
DocumentManager::goIntoComponent(selectedNodes.first());
}
}
......
Supports Markdown
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