From a5448ef7294185447b3c6b01b9f6a776422d2b54 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 9 Mar 2015 15:01:18 -0300 Subject: [PATCH] Remove dead code. This code used to trigger the edit mode a long time ago since now I'm re-reading the code to implement the same stuff on the Location edit mode, I realized that this is not needed anymore. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 3f6345c18..956a1bcc5 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -71,20 +71,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), // filled from a dive, they are made writeable setEnabled(false); - ui.location->installEventFilter(this); - ui.divemaster->installEventFilter(this); - ui.buddy->installEventFilter(this); - ui.suit->installEventFilter(this); - ui.notes->viewport()->installEventFilter(this); - ui.rating->installEventFilter(this); - ui.visibility->installEventFilter(this); - ui.airtemp->installEventFilter(this); - ui.watertemp->installEventFilter(this); - ui.dateEdit->installEventFilter(this); - ui.timeEdit->installEventFilter(this); - ui.tagWidget->installEventFilter(this); - ui.DiveType->installEventFilter(this); - Q_FOREACH (QObject *obj, ui.statisticsTab->children()) { QLabel *label = qobject_cast(obj); if (label)