From 3b8f9592eed1661e818fe3a295244de66ec67f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 7 Jan 2020 10:00:39 +0100 Subject: [PATCH] WIP fix build --- application/InstanceProxyModel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/application/InstanceProxyModel.cpp b/application/InstanceProxyModel.cpp index 75213ae7..0d169af7 100644 --- a/application/InstanceProxyModel.cpp +++ b/application/InstanceProxyModel.cpp @@ -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; }