diff options
| author | booto <remornicus@gmail.com> | 2018-08-08 23:59:58 -0400 |
|---|---|---|
| committer | booto <remornicus@gmail.com> | 2018-08-08 23:59:58 -0400 |
| commit | aef446697dd46c59e6a6f7d15caca8e7ed0caad3 (patch) | |
| tree | 113af85227999e25837c29166c71dab56d4a2fca /Source/Core/DolphinQt/GameList/ListProxyModel.cpp | |
| parent | 7be818a354aa3d0a0f4d9786c413032da36d5568 (diff) | |
GameList: QSortFilterProxyModel should provide strict weak ordering
Diffstat (limited to 'Source/Core/DolphinQt/GameList/ListProxyModel.cpp')
| -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 = |
