summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2013-03-07 16:29:04 +0100
committerThomas Hartmann <Thomas.Hartmann@digia.com>2013-03-11 14:07:49 +0100
commit4c9d2e5308c4fae635717c33b0449c69a0fc5b0d (patch)
tree18750df127f127899c4c0d68a17c24a3599e8b92 /src/plugins
parent1eac160eb21d1701a2a88778843700554c057f52 (diff)
downloadqt-creator-4c9d2e5308c4fae635717c33b0449c69a0fc5b0d.tar.gz
QmlDesigner: remove unused function
Change-Id: I91b8bee6e714612d01092325c70d8bb69746a9ac Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp b/src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp
index 3a3d16c2c7..655b821d37 100644
--- a/src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp
+++ b/src/plugins/qmldesigner/designercore/model/qmlmodelview.cpp
@@ -351,23 +351,6 @@ void QmlModelView::modelAboutToBeDetached(Model *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*/)
{