diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-03-09 15:01:18 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-10 07:46:50 -0700 |
commit | a5448ef7294185447b3c6b01b9f6a776422d2b54 (patch) | |
tree | 4ff07df871fceb59d9d9eda624285389ef870e4a /qt-ui/maintab.cpp | |
parent | 53d20f5b8a58e3f15efac87e49b435253d987329 (diff) | |
download | subsurface-a5448ef7294185447b3c6b01b9f6a776422d2b54.tar.gz |
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 <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 14 |
1 files changed, 0 insertions, 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<QLabel *>(obj); if (label) |