From 4669a9961775b427d0b5942cdb48fa6548a717f6 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 22 Jan 2017 11:48:01 +0800 Subject: [PATCH] Use case-insensitive sort for Name column in Search tab. Closes #407. --- src/gui/search/searchsortmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/search/searchsortmodel.cpp b/src/gui/search/searchsortmodel.cpp index e27af9fc8..4ef87af69 100644 --- a/src/gui/search/searchsortmodel.cpp +++ b/src/gui/search/searchsortmodel.cpp @@ -112,7 +112,7 @@ bool SearchSortModel::lessThan(const QModelIndex &left, const QModelIndex &right case ENGINE_URL: { QString vL = left.data().toString(); QString vR = right.data().toString(); - return Utils::String::naturalCompareCaseSensitive(vL, vR); + return Utils::String::naturalCompareCaseInsensitive(vL, vR); } default: