diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-10 22:40:06 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-07-12 09:59:28 +0200 |
commit | f93e0aafd52be47b99132a0d38629e1dffaaaa9e (patch) | |
tree | ca567559dedee56903a901569df4246ea43d195d /profile-widget/profilewidget2.h | |
parent | 2d9dc40171c261fc6c907badb871d6735d59787a (diff) | |
download | subsurface-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.h | 1 |
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); |