Commit 6eadc899 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: remove unused function



Change-Id: I91b8bee6e714612d01092325c70d8bb69746a9ac
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
(cherry picked from commit 4c9d2e53)
parent 33c8d815
...@@ -351,23 +351,6 @@ void QmlModelView::modelAboutToBeDetached(Model *model) ...@@ -351,23 +351,6 @@ void QmlModelView::modelAboutToBeDetached(Model *model)
AbstractView::modelAboutToBeDetached(model); AbstractView::modelAboutToBeDetached(model);
} }
static bool isTransformProperty(const QString &name)
{
static QStringList transformProperties(QStringList() << "x"
<< "y"
<< "width"
<< "height"
<< "z"
<< "rotation"
<< "scale"
<< "transformOrigin"
<< "paintedWidth"
<< "paintedHeight"
<< "border.width");
return transformProperties.contains(name);
}
void QmlModelView::nodeOrderChanged(const NodeListProperty &/*listProperty*/, const ModelNode &/*movedNode*/, int /*oldIndex*/) void QmlModelView::nodeOrderChanged(const NodeListProperty &/*listProperty*/, const ModelNode &/*movedNode*/, int /*oldIndex*/)
{ {
......
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