mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08: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) {
|
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user