DolphinQt: Fix default sort direction of game list.

This commit is contained in:
Jordan Woyak 2020-07-16 19:21:14 -05:00
parent ed32a2a1fe
commit ecf016e80a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_
bool ListProxyModel::lessThan(const QModelIndex& left, const QModelIndex& right) const
{
if (left.data(Qt::InitialSortOrderRole) != right.data(Qt::InitialSortOrderRole))
return QSortFilterProxyModel::lessThan(right, left);
return QSortFilterProxyModel::lessThan(left, right);
// If two items are otherwise equal, compare them by their title
const auto right_title =