summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-11-27 17:36:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-01 15:47:51 -0800
commita9703628c4c4d3b1226d4ea86b3079718940e14e (patch)
treec008eb9c45ef2b02425c086b39877d35cc34ec5f /desktop-widgets/diveplanner.h
parentf159792b8050bb6d07dbf29c525dc5e86da2688b (diff)
downloadsubsurface-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.h2
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;