summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsitem.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@nokia.com>2010-02-01 15:54:22 (GMT)
committerMarco Bubke <marco.bubke@nokia.com>2010-02-01 15:56:47 (GMT)
commitd28d9c1d6e2c54cf41a9cc52f41b0542cb9717aa (patch)
treed07ff7b06cdae4c6c48eddfc69a374f4acea875e /src/declarative/graphicsitems/qmlgraphicsitem.cpp
parent944e9946f9541dead8319dcc9e4e49f41c8c40b1 (diff)
downloadQt-d28d9c1d6e2c54cf41a9cc52f41b0542cb9717aa.zip
Qt-d28d9c1d6e2c54cf41a9cc52f41b0542cb9717aa.tar.gz
Qt-d28d9c1d6e2c54cf41a9cc52f41b0542cb9717aa.tar.bz2
Add transformOriginChanged signal to QmlGraphicsItem
This is needed that Bauhaus is reflecting the changes in QmlGraphicsItem. Task-number: BAUHAUS-125 Reviewed-by: Kai Koehne
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsitem.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsitem.cpp b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
index bd3c1ea..2f0c555 100644
--- a/src/declarative/graphicsitems/qmlgraphicsitem.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
@@ -2790,6 +2790,7 @@ void QmlGraphicsItem::setTransformOrigin(TransformOrigin origin)
if (origin != d->origin) {
d->origin = origin;
QGraphicsItem::setTransformOriginPoint(d->computeTransformOrigin());
+ emit transformOriginChanged(d->origin);
}
}