From 23a193b0d1a94098ebcf1b5bafbc79ed879b5106 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 1 Nov 2013 13:45:14 -0400 Subject: 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 --- qt-ui/diveplanner.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/diveplanner.h') 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 divepoints; struct dive *tempDive; void deleteTemporaryPlan(struct divedatapoint *dp); + QVector backupSamples; // For editing added dives. }; class Button : public QObject, public QGraphicsRectItem { -- cgit v1.2.3-70-g09d2