summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 12:56:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 12:56:37 -0700
commit3d511fe26b16fa19e0d0b3376bc32fb0b54dd719 (patch)
treefb827c9a3bb3e8250f0af8ace42fca7c24fbb786 /qt-ui/diveplanner.h
parentcd5b2a372f70198823a7ca82a51fa38a977f1a80 (diff)
downloadsubsurface-3d511fe26b16fa19e0d0b3376bc32fb0b54dd719.tar.gz
UI restructure: remove the backupDive we no longer need
Since we have a dedicated dive that we use to display things, we can simply get the information from the current dive and use it to setup said displayed_dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index d9173be6f..873ee8d66 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -83,7 +83,6 @@ slots:
void createTemporaryPlan();
void deleteTemporaryPlan();
void loadFromDive(dive *d);
- void restoreBackupDive();
void emitDataChanged();
signals:
@@ -99,7 +98,6 @@ private:
Mode mode;
bool recalc;
QVector<divedatapoint> divepoints;
- struct dive backupDive;
void deleteTemporaryPlan(struct divedatapoint *dp);
QVector<sample> backupSamples; // For editing added dives.
QVector<QPair<int, int> > oldGases;