From 3302ee11c1fc215b979da7a403dc5468da68e84c Mon Sep 17 00:00:00 2001 From: Maximilian Güntner Date: Fri, 15 Nov 2013 01:39:02 +0100 Subject: changed tag completition to case-insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When completing tags, the case of the completion prefix should not matter. Signed-off-by: Maximilian Güntner Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 315eff90a..970f90a2f 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -89,6 +89,7 @@ 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.tags->setCaseSensitivity(Qt::CaseInsensitive); ui.buddy->setCompleter(completers.buddy); ui.divemaster->setCompleter(completers.divemaster); ui.location->setCompleter(completers.location); -- cgit v1.2.3-70-g09d2