mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Add CaseInsensitivity to all of the completers.
Just one of the completers had Qt::CaseInsentitive set, setting for all of them. Fixes #400 Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e783493f8a
commit
ddecc3b56a
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,11 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
completers.location = new QCompleter(LocationCompletionModel::instance(), ui.location);
|
||||
completers.suit = new QCompleter(SuitCompletionModel::instance(), ui.suit);
|
||||
completers.tags = new QCompleter(TagCompletionModel::instance(), ui.tagWidget);
|
||||
completers.buddy->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
completers.divemaster->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
completers.location->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
completers.suit->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
completers.buddy->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
completers.tags->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
ui.buddy->setCompleter(completers.buddy);
|
||||
ui.divemaster->setCompleter(completers.divemaster);
|
||||
|
|
Loading…
Reference in a new issue