diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-01-11 00:01:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-10 17:27:25 -0800 |
commit | e219bc70f863eaaa9b81ba5abc240975a128c904 (patch) | |
tree | 682d6d981929420bbabd0021e02db3006c72d96f /qt-ui/diveplanner.cpp | |
parent | bfe05b43407c419a32548af20f40e2b9e3bca045 (diff) | |
download | subsurface-e219bc70f863eaaa9b81ba5abc240975a128c904.tar.gz |
Refactor dctype -> divemode
... and repair a failed rebase (sorry).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 57349007c..1b389afdf 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -785,13 +785,13 @@ void DivePlannerPointsModel::setGFLow(const int ghflow) void DivePlannerPointsModel::setRebreatherMode(QString mode) { - qDebug() << mode << "selected, was" << displayed_dive.dc.dctype; + qDebug() << mode << "selected, was" << displayed_dive.dc.divemode; if (mode == "OC") - displayed_dive.dc.dctype = OC; + displayed_dive.dc.divemode = OC; else if (mode == "pSCR") - displayed_dive.dc.dctype = PSCR; + displayed_dive.dc.divemode = PSCR; else if (mode == "CCR") - displayed_dive.dc.dctype = CCR; + displayed_dive.dc.divemode = CCR; plannerModel->emitDataChanged(); } |