mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-10-06 06:50:16 +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) {
|
switch(currentSortMode) {
|
||||||
case SortMode::ByLastPlayed:
|
case SortMode::ByLastPlayed:
|
||||||
return pdataLeft->lastLaunch() > pdataRight->lastLaunch();
|
return pdataLeft->lastLaunch() > pdataRight->lastLaunch();
|
||||||
|
default:
|
||||||
case SortMode::ByName:
|
case SortMode::ByName:
|
||||||
return QString::localeAwareCompare(pdataLeft->name(), pdataRight->name()) < 0;
|
return QString::localeAwareCompare(pdataLeft->name(), pdataRight->name()) < 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user