mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 08:41:42 +00:00
WIP fix build
This commit is contained in:
@@ -24,6 +24,7 @@ bool InstanceProxyModel::subSortLessThan(const QModelIndex &left, const QModelIn
|
||||
switch(currentSortMode) {
|
||||
case SortMode::ByLastPlayed:
|
||||
return pdataLeft->lastLaunch() > pdataRight->lastLaunch();
|
||||
default:
|
||||
case SortMode::ByName:
|
||||
return QString::localeAwareCompare(pdataLeft->name(), pdataRight->name()) < 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user