summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-01-19 22:02:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-19 13:56:11 -0800
commitc8807c2ad20e0bfdc28818327bb2f876b0d69292 (patch)
tree60f4843cd9b5d1e51fe66a5c66ff1a3bed08f018 /qt-ui/maintab.cpp
parentec1088f2ccf17312809cdee2b56f3de3c625b2f9 (diff)
downloadsubsurface-c8807c2ad20e0bfdc28818327bb2f876b0d69292.tar.gz
Use focus policy setting from widget constructor
Since we use tags widget for several input fields (tags, buddy, divemaster), it makes sense to keep focus policy setting in one place. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index f3f85b05e..0e6dce0f4 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -31,7 +31,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
editMode(NONE)
{
ui.setupUi(this);
- ui.tagWidget->setFocusPolicy(Qt::StrongFocus); // Don't get focus by 'Wheel'
ui.cylinders->setModel(cylindersModel);
ui.weights->setModel(weightModel);
closeMessage();