diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-09-16 20:52:01 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-16 20:52:01 -0400 |
commit | 396d73705e268619c07178171e3b99f095485ebd (patch) | |
tree | 703d54ed6243e8ece807560da735c38f4ea2ad85 /qt-ui/maintab.h | |
parent | 242ef056f6eaab44cd4283b7015f2aef4e6c0811 (diff) | |
parent | 2b6c3b4c0cb094a06bc832573f68be00de9d7293 (diff) | |
download | subsurface-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.h | 6 |
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(); |