summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-09 07:43:00 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-09 07:51:40 +0100
commite6c51cc31401ebe39d6363487ecc3713e4ee003d (patch)
treefa984d1b7f4a37e699840a4d052b69b2b5214605 /qt-ui/diveplanner.h
parent3b115b94009e9a674681145b324a46d51432a788 (diff)
downloadsubsurface-e6c51cc31401ebe39d6363487ecc3713e4ee003d.tar.gz
Implement a settingsChanged in DivePlannerWidget
This is so we can default to the GF's from the preferences. We need the bail handler in createTemporaryPlan, because its triggered when we change GF's, and if we don't have a stagingDive there, we will access a NULL-pointer. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 0241bc6e3..d65757262 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -236,6 +236,7 @@ public:
explicit DivePlannerWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
public slots:
+ void settingsChanged();
void atmPressureChanged(const QString& pressure);
void bottomSacChanged(const QString& bottomSac);
void decoSacChanged(const QString& decosac);