Browse Source

Merge pull request #6283 from Chocobo1/sort

Use case-insensitive sort for Name column in Search tab. Closes #407.
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
eb3f4b8490
  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 @@ -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:

Loading…
Cancel
Save