mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
We are not using a completer for location anymore
So, remove it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
80fe3f88f9
commit
636aac83f8
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ class DivePictureModel;
|
|||
class QCompleter;
|
||||
|
||||
struct Completers {
|
||||
QCompleter *location;
|
||||
QCompleter *divemaster;
|
||||
QCompleter *buddy;
|
||||
QCompleter *suit;
|
||||
|
|
Loading…
Reference in a new issue