Remove the comment

Signed-off-by: Anceph <41387237+Anceph@users.noreply.github.com>
This commit is contained in:
Anceph 2026-06-24 00:49:43 +03:00 committed by GitHub
parent a607373ced
commit 34783c10fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,6 @@ bool InstanceProxyModel::subSortLessThan(const QModelIndex& left, const QModelIn
return pdataLeft->lastLaunch() > pdataRight->lastLaunch(); return pdataLeft->lastLaunch() > pdataRight->lastLaunch();
} else if (sortMode == "Playtime") { } else if (sortMode == "Playtime") {
if (pdataLeft->totalTimePlayed() == pdataRight->totalTimePlayed()) { if (pdataLeft->totalTimePlayed() == pdataRight->totalTimePlayed()) {
// fallback to name sorting if playtime is equal
return m_naturalSort.compare(pdataLeft->name(), pdataRight->name()) < 0; return m_naturalSort.compare(pdataLeft->name(), pdataRight->name()) < 0;
} }
return pdataLeft->totalTimePlayed() > pdataRight->totalTimePlayed(); return pdataLeft->totalTimePlayed() > pdataRight->totalTimePlayed();