mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
DolphinQt: Fix default sort direction of game list.
This commit is contained in:
parent
ed32a2a1fe
commit
ecf016e80a
@ -19,7 +19,7 @@ bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_
|
|||||||
bool ListProxyModel::lessThan(const QModelIndex& left, const QModelIndex& right) const
|
bool ListProxyModel::lessThan(const QModelIndex& left, const QModelIndex& right) const
|
||||||
{
|
{
|
||||||
if (left.data(Qt::InitialSortOrderRole) != right.data(Qt::InitialSortOrderRole))
|
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
|
// If two items are otherwise equal, compare them by their title
|
||||||
const auto right_title =
|
const auto right_title =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user