From 3d511fe26b16fa19e0d0b3376bc32fb0b54dd719 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 6 Jul 2014 12:56:37 -0700 Subject: 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 --- qt-ui/diveplanner.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-ui/diveplanner.h') 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 divepoints; - struct dive backupDive; void deleteTemporaryPlan(struct divedatapoint *dp); QVector backupSamples; // For editing added dives. QVector > oldGases; -- cgit v1.2.3-70-g09d2