diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-03 15:13:24 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-03 16:19:04 -0700 |
commit | 61f8b8c00282519db18614c1a85036be769ee15c (patch) | |
tree | 35690d65ae474f3410d4dbc96af34c14ce5e2b71 /desktop-widgets/importgps.h | |
parent | 5bc6f5d36c491b305f66a03c8400666ccda0b044 (diff) | |
download | subsurface-61f8b8c00282519db18614c1a85036be769ee15c.tar.gz |
planner: limit depth and time of segments to sane values
Using non-sensical depth and times for segments in the planner may
lead to an unresponsive UI. Therefore limit depth to 1000 m/3300 ft
and time to 100 h. Limiting of depth is done in settingsChanged()
since it has to adapt to the user changig their preferred units.
Fixes #2762.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/importgps.h')
0 files changed, 0 insertions, 0 deletions