diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-13 14:46:15 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2020-05-04 10:42:07 +0200 |
commit | f123972dbf661c051c37387249ab5fb6d83e24fa (patch) | |
tree | f528dd5875cdc96e4c4e01259d2666575d6b527e /desktop-widgets/mainwindow.h | |
parent | 769915f3fe75bcef8029e82fdfed7ae206182390 (diff) | |
download | subsurface-f123972dbf661c051c37387249ab5fb6d83e24fa.tar.gz |
planner: update variations in planner not mainwindow
When calculating variations, they were sent to the mainwindow,
which updated displayed_dive accordingly. Do this directly
in the planner-model.
The idea is to detangle interdependencies and to make the
code reusable (planner on mobile?).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index ec09e7223..22cf1c828 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -170,7 +170,6 @@ slots: // should only be enabled when the profile's visible. void disableShortcuts(bool disablePaste = true); void enableShortcuts(); - void updateVariations(QString); void startDiveSiteEdit(); private: |