summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2013-11-01 13:45:14 -0400
committerGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2013-11-01 13:45:14 -0400
commit23a193b0d1a94098ebcf1b5bafbc79ed879b5106 (patch)
tree29e361bdb3904e1b02164bfe893afd3228b50a6a /qt-ui/diveplanner.h
parentf7cd3e780cdc77180ce279c95322de2095192657 (diff)
downloadsubsurface-23a193b0d1a94098ebcf1b5bafbc79ed879b5106.tar.gz
Changed the backup implementation of the samples on EditDive.
Changed the backup implementation of the samples on EditDive, it's way cleaner now what's happening, and it's also better for the cancel edit. Next: The Cancel Edit. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 90859abe9..6812b26ef 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -67,6 +67,7 @@ private:
QVector<divedatapoint> divepoints;
struct dive *tempDive;
void deleteTemporaryPlan(struct divedatapoint *dp);
+ QVector<sample> backupSamples; // For editing added dives.
};
class Button : public QObject, public QGraphicsRectItem {