diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 3 | ||||
-rw-r--r-- | qt-ui/maintab.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index f344b1b82..61687db01 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -104,17 +104,14 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.cylinders->view()->setColumnHidden(CylindersModel::DEPTH, true); completers.buddy = new QCompleter(&buddyModel, ui.buddy); completers.divemaster = new QCompleter(&diveMasterModel, ui.divemaster); - completers.location = new QCompleter(&locationModel, ui.location); completers.suit = new QCompleter(&suitModel, ui.suit); completers.tags = new QCompleter(&tagModel, ui.tagWidget); completers.buddy->setCaseSensitivity(Qt::CaseInsensitive); completers.divemaster->setCaseSensitivity(Qt::CaseInsensitive); - completers.location->setCaseSensitivity(Qt::CaseInsensitive); completers.suit->setCaseSensitivity(Qt::CaseInsensitive); completers.tags->setCaseSensitivity(Qt::CaseInsensitive); ui.buddy->setCompleter(completers.buddy); ui.divemaster->setCompleter(completers.divemaster); - ui.location->setCompleter(completers.location); ui.suit->setCompleter(completers.suit); ui.tagWidget->setCompleter(completers.tags); diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index afca4a53c..2d2f9679c 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -23,7 +23,6 @@ class DivePictureModel; class QCompleter; struct Completers { - QCompleter *location; QCompleter *divemaster; QCompleter *buddy; QCompleter *suit; |