aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printdialog.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-03 15:13:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-03 16:19:04 -0700
commit61f8b8c00282519db18614c1a85036be769ee15c (patch)
tree35690d65ae474f3410d4dbc96af34c14ce5e2b71 /desktop-widgets/printdialog.h
parent5bc6f5d36c491b305f66a03c8400666ccda0b044 (diff)
downloadsubsurface-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/printdialog.h')
0 files changed, 0 insertions, 0 deletions