diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-03-11 17:27:05 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-11 17:41:41 -0700 |
commit | 9f37bac07a06870bc3e5d1c150496ed347a4de99 (patch) | |
tree | eca728536fdb97a9cced0eab2fcd182dc7cf3061 /qt-ui/profile/diveeventitem.cpp | |
parent | 466f160c01127c1a2aad37742f53a9a0b97eb274 (diff) | |
download | subsurface-9f37bac07a06870bc3e5d1c150496ed347a4de99.tar.gz |
Support Animation Speed via Settings.
This is very userfull for a ( yet to be implemented )
preference dialog about the animation speed, so the
user can enable / disable the animations or make it a bit
faster for it's taste.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveeventitem.cpp')
-rw-r--r-- | qt-ui/profile/diveeventitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp index 40d9e7263..1fd4ef07a 100644 --- a/qt-ui/profile/diveeventitem.cpp +++ b/qt-ui/profile/diveeventitem.cpp @@ -123,7 +123,7 @@ void DiveEventItem::recalculatePos(bool instant) qreal x = hAxis->posAtValue(internalEvent->time.seconds); qreal y = vAxis->posAtValue(depth); if (!instant) - Animations::moveTo(this, x, y, 500); + Animations::moveTo(this, x, y); else setPos(x, y); } |