WIP fix build

This commit is contained in:
Petr Mrázek 2020-01-07 10:00:39 +01:00
parent 6270a4a468
commit 3b8f9592ee

View File

@ -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;
}