summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-10 22:40:06 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2019-07-12 09:59:28 +0200
commitf93e0aafd52be47b99132a0d38629e1dffaaaa9e (patch)
treeca567559dedee56903a901569df4246ea43d195d /profile-widget/profilewidget2.h
parent2d9dc40171c261fc6c907badb871d6735d59787a (diff)
downloadsubsurface-f93e0aafd52be47b99132a0d38629e1dffaaaa9e.tar.gz
Profile: store animation speed in profile object
When exporting dive pictures we don't want animations. Therefore, store the animation speed in the profile object to avoid nasty hacks with the preferences. This actually removes such a hack. Pictures and tooltips for now still use the values stored in the preferences, because their animations happen only on user-interactions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index fbc43c623..fa3f7f95d 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -90,6 +90,7 @@ public:
void recalcCeiling();
void setToolTipVisibile(bool visible);
State currentState;
+ int animSpeed;
signals:
void fontPrintScaleChanged(double scale);