summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicspositioners.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicspositioners.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicspositioners.cpp b/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
index e7fa7b8..5b081a2 100644
--- a/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicspositioners.cpp
@@ -255,9 +255,9 @@ void QmlGraphicsBasePositioner::positionX(int x, const PositionedItem &target)
target.item->setX(x);
}else{
if(target.isNew)
- d->addActions << Action(target.item, QLatin1String("x"), QVariant(x));
+ d->addActions << QmlAction(target.item, QLatin1String("x"), QVariant(x));
else
- d->moveActions << Action(target.item, QLatin1String("x"), QVariant(x));
+ d->moveActions << QmlAction(target.item, QLatin1String("x"), QVariant(x));
}
}
}
@@ -270,9 +270,9 @@ void QmlGraphicsBasePositioner::positionY(int y, const PositionedItem &target)
target.item->setY(y);
}else{
if(target.isNew)
- d->addActions << Action(target.item, QLatin1String("y"), QVariant(y));
+ d->addActions << QmlAction(target.item, QLatin1String("y"), QVariant(y));
else
- d->moveActions << Action(target.item, QLatin1String("y"), QVariant(y));
+ d->moveActions << QmlAction(target.item, QLatin1String("y"), QVariant(y));
}
}
}