summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-16 20:52:01 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-16 20:52:01 -0400
commit396d73705e268619c07178171e3b99f095485ebd (patch)
tree703d54ed6243e8ece807560da735c38f4ea2ad85 /qt-ui/maintab.h
parent242ef056f6eaab44cd4283b7015f2aef4e6c0811 (diff)
parent2b6c3b4c0cb094a06bc832573f68be00de9d7293 (diff)
downloadsubsurface-396d73705e268619c07178171e3b99f095485ebd.tar.gz
Merge branch 'multiDiveEdition' of https://github.com/tcanabrava/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Conflicts: qt-ui/maintab.h
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index c423bc619..f9f65a3ff 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -9,11 +9,12 @@
#include <QTabWidget>
#include <QDialog>
+#include <QMap>
#include "models.h"
class QCompleter;
-
+struct dive;
namespace Ui
{
class MainTab;
@@ -68,8 +69,7 @@ private:
Ui::MainTab *ui;
WeightModel *weightModel;
CylindersModel *cylindersModel;
- NotesBackup notesBackup;
- struct dive* currentDive;
+ QMap<dive*, NotesBackup> notesBackup;
enum { NONE, DIVE, TRIP } editMode;
Completers completers;
void enableEdition();