summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/animationfunctions.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-07 17:59:21 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-08 07:21:13 -0800
commit0ad2a69c4234e23cbcdfe4ce2c498bd0bdeee611 (patch)
tree6d436ee18f87a74a0c36d02d7ecbe594f914e883 /qt-ui/profile/animationfunctions.cpp
parented72aabde57ece6556319db5a11db34dabb73710 (diff)
downloadsubsurface-0ad2a69c4234e23cbcdfe4ce2c498bd0bdeee611.tar.gz
Show the profile again.
This patch re-enables a few items on the profile, most notably, the profile itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/animationfunctions.cpp')
-rw-r--r--qt-ui/profile/animationfunctions.cpp6
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);
+}
+
+
}