mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-07-05 04:18:53 +00:00
WIP fix build
This commit is contained in:
parent
6270a4a468
commit
3b8f9592ee
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user