From 636aac83f89b328d355083244e9e658def85af62 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 31 May 2015 17:05:15 -0300 Subject: [PATCH] We are not using a completer for location anymore So, remove it. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 3 --- qt-ui/maintab.h | 1 - 2 files changed, 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;