mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Force TTS/NDL calculation off if things take too long
This is kind of a random cut off, but if plotting the dive takes more than a second and TTS/NDL is on, we force it off. Because the algorithm for that is fundamentally quadratic in nature it can take a VERY long time - getting users to think something is broken. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f34e6218a0
commit
714fdc7ced
3 changed files with 15 additions and 0 deletions
|
@ -148,6 +148,7 @@ protected:
|
|||
|
||||
public
|
||||
slots:
|
||||
void turnOffNdlTts();
|
||||
void readSettings();
|
||||
void refreshDisplay(bool doRecreateDiveList = true);
|
||||
void recreateDiveList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue