Browse Source

Use case-insensitive sort for Name column in Search tab. Closes #407.

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
4669a99617
  1. 2
      src/gui/search/searchsortmodel.cpp

2
src/gui/search/searchsortmodel.cpp

@ -112,7 +112,7 @@ bool SearchSortModel::lessThan(const QModelIndex &left, const QModelIndex &right
case ENGINE_URL: { case ENGINE_URL: {
QString vL = left.data().toString(); QString vL = left.data().toString();
QString vR = right.data().toString(); QString vR = right.data().toString();
return Utils::String::naturalCompareCaseSensitive(vL, vR); return Utils::String::naturalCompareCaseInsensitive(vL, vR);
} }
default: default:

Loading…
Cancel
Save