From f123972dbf661c051c37387249ab5fb6d83e24fa Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 13 Apr 2020 14:46:15 +0200 Subject: 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 --- desktop-widgets/mainwindow.h | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/mainwindow.h') 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: -- cgit v1.2.3-70-g09d2