diff options
Diffstat (limited to 'qt-ui/profile/animationfunctions.cpp')
-rw-r--r-- | qt-ui/profile/animationfunctions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/profile/animationfunctions.cpp b/qt-ui/profile/animationfunctions.cpp index 917be3858..103af8787 100644 --- a/qt-ui/profile/animationfunctions.cpp +++ b/qt-ui/profile/animationfunctions.cpp @@ -30,4 +30,10 @@ void moveTo(QObject* obj, qreal x, qreal y, int msecs) animation->start(QAbstractAnimation::DeleteWhenStopped); } +void moveTo(QObject* obj, const QPointF& pos, int msecs) +{ + moveTo(obj, pos.x(), pos.y(), msecs); +} + + } |