aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2021-08-16 18:15:54 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-08-18 13:22:02 -0700
commitba6f7361da873609d72ab4ba3b1d55edd8f5569d (patch)
tree09549d48064f9dc78ba70f6e28420b6ae661dddd /desktop-widgets/tab-widgets/maintab.cpp
parent6c4e890960036b127eab513ca967e9454bc63d54 (diff)
downloadsubsurface-ba6f7361da873609d72ab4ba3b1d55edd8f5569d.tar.gz
Remove the divecomputer naming tab
The TabDiveComputer model won't work in the new world order, where you can't even insert a new device entry without a nickname to be edited. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index 295b13b1d..49170525d 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -31,7 +31,6 @@
#include "TabDivePhotos.h"
#include "TabDiveStatistics.h"
#include "TabDiveSite.h"
-#include "TabDiveComputer.h"
#include <QCompleter>
#include <QScrollBar>
@@ -72,8 +71,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui.tabWidget->addTab(extraWidgets.last(), tr("Extra Info"));
extraWidgets << new TabDiveSite(this);
ui.tabWidget->addTab(extraWidgets.last(), tr("Dive sites"));
- extraWidgets << new TabDiveComputer(this);
- ui.tabWidget->addTab(extraWidgets.last(), tr("Device names"));
// make sure we know if this is a light or dark mode
isDark = paletteIsDark(palette());