diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-11-27 17:36:21 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-01 15:47:51 -0800 |
commit | a9703628c4c4d3b1226d4ea86b3079718940e14e (patch) | |
tree | c008eb9c45ef2b02425c086b39877d35cc34ec5f /desktop-widgets/diveplanner.h | |
parent | f159792b8050bb6d07dbf29c525dc5e86da2688b (diff) | |
download | subsurface-a9703628c4c4d3b1226d4ea86b3079718940e14e.tar.gz |
Actually compute variations in background
This reenables the computation of plan variations but now in a separate
thread. Once finieshed, a signal is sent to update the notes.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets/diveplanner.h')
-rw-r--r-- | desktop-widgets/diveplanner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h index 955fc690a..8f42dd21d 100644 --- a/desktop-widgets/diveplanner.h +++ b/desktop-widgets/diveplanner.h @@ -55,7 +55,6 @@ slots: void printDecoPlan(); void setSurfacePressure(int surface_pressure); void setSalinity(int salinity); - private: Ui::DivePlanner ui; QAbstractButton *replanButton; @@ -103,6 +102,7 @@ public: explicit PlannerDetails(QWidget *parent = 0); QPushButton *printPlan() const { return ui.printPlan; } QTextEdit *divePlanOutput() const { return ui.divePlanOutput; } + QLabel *divePlannerOutputLabel() const { return ui.divePlanOutputLabel; } private: Ui::plannerDetails ui; |