mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
cd5b2a372f
commit
3d511fe26b
2 changed files with 4 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue