mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Remove the comment
Signed-off-by: Anceph <41387237+Anceph@users.noreply.github.com>
This commit is contained in:
parent
a607373ced
commit
34783c10fe
1 changed files with 0 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue