From aef446697dd46c59e6a6f7d15caca8e7ed0caad3 Mon Sep 17 00:00:00 2001 From: booto Date: Wed, 8 Aug 2018 23:59:58 -0400 Subject: [PATCH] GameList: QSortFilterProxyModel should provide strict weak ordering --- Source/Core/DolphinQt/GameList/ListProxyModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =