Tomaz Canabrava 7b9400685d Optimizations and fixes on the new profile.
This patch optimizes a few items when hitting the
'save preferences' dialog, since when a preference is
modified, all the items try to reload their visual
based on wether a preference changed or not, the correct
code for 'hey, my pref changed, let's update' needed
to be done.

now the axis will only set a new maximum if it's different
from the old one ( and thus, going to a new dive with
the same maxdepth or maxtime as the old one will not touch
their axis, not triggering gratuitous animations. )

also, the 'incr by 3m' was not being called - it seems
that our 'syncsettings' method is not storing things on
the 'prefs' global var. I added just for the incr by 3m
case, but it's something that we need to check later.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-05 06:30:33 -08:00
..
2013-11-29 12:11:12 -08:00
2014-01-16 12:15:47 +07:00
2013-12-04 15:49:55 -08:00
2014-01-16 12:15:47 +07:00
2013-12-20 09:53:04 -08:00
2013-10-15 04:37:31 -07:00
2014-01-16 12:15:47 +07:00
2014-01-16 12:15:47 +07:00
2014-01-21 09:39:09 -08:00
2013-11-30 12:01:32 -08:00
2014-01-16 12:15:47 +07:00
2014-01-10 16:12:44 +07:00