diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-08-11 02:57:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-11 02:57:36 +0200 |
| commit | 55fa4842fbae70778093274ce07fcacbfaf85576 (patch) | |
| tree | 30176c2d107a7b7b46ba7635f21c03b7422fdb4d /Source | |
| parent | 91edc9524331734093a7456190976da263174754 (diff) | |
| parent | aef446697dd46c59e6a6f7d15caca8e7ed0caad3 (diff) | |
Merge pull request #7307 from booto/qsortfilter-strict-weak
GameList: QSortFilterProxyModel should provide strict weak ordering
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/GameList/ListProxyModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/GameList/ListProxyModel.cpp b/Source/Core/DolphinQt/GameList/ListProxyModel.cpp index 396e2c1542..8539dacceb 100644 --- a/Source/Core/DolphinQt/GameList/ListProxyModel.cpp +++ b/Source/Core/DolphinQt/GameList/ListProxyModel.cpp @@ -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(left, right); + return QSortFilterProxyModel::lessThan(right, left); // If two items are otherwise equal, compare them by their title const auto right_title = |
