summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-25 22:35:32 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-02 13:53:23 -0700
commit51b16a43c4e4251504d233b24318067f077ee5b6 (patch)
tree1c4b28451bad53bd87cdbc9962eb59045e1c9cff /qt-models/diveplannermodel.h
parent7c398973fd5ed69504c9b59603aa8f2de8acf507 (diff)
downloadsubsurface-51b16a43c4e4251504d233b24318067f077ee5b6.tar.gz
cleanup: make DivePlannerPointsModel::removeDeco() private
No outside users. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r--qt-models/diveplannermodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index 377326b57..17e1fb75e 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -58,7 +58,6 @@ public:
void editStop(int row, divedatapoint newData);
divedatapoint at(int row) const;
struct diveplan &getDiveplan();
- void removeDeco();
struct deco_state final_deco_state;
void loadFromDive(dive *d);
@@ -89,6 +88,7 @@ slots:
void saveDuplicatePlan();
void remove(const QModelIndex &index);
void cancelPlan();
+ void removeDeco();
void createTemporaryPlan();
void recalcTemporaryPlan(); // Writes the plan into the dive.
void deleteTemporaryPlan();