summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r--desktop-widgets/tab-widgets/maintab.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index bf071619b..49003be4e 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -26,11 +26,6 @@ class TabBase;
class MainTab : public QTabWidget {
Q_OBJECT
public:
- enum EditMode {
- NONE,
- MANUALLY_ADDED_DIVE
- };
-
MainTab(QWidget *parent = 0);
~MainTab();
void clearTabs();
@@ -74,7 +69,7 @@ slots:
void escDetected(void);
private:
Ui::MainTab ui;
- EditMode editMode;
+ bool editMode;
bool ignoreInput; // When computionally editing fields, we have to ignore changed-signals
BuddyCompletionModel buddyModel;
DiveMasterCompletionModel diveMasterModel;