mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Show metrics in locale aware collation order
Unicode order can be confusing for some locales Reported in #3542
This commit is contained in:
@@ -124,7 +124,7 @@ class MetricDetail {
|
||||
penColor(Qt::black), penAlpha(0), penWidth(1.0), penStyle(0),
|
||||
brushColor(Qt::black), brushAlpha(0), fillCurve(false), labels(false), curve(NULL) {}
|
||||
|
||||
bool operator< (MetricDetail right) const { return name < right.name; }
|
||||
bool operator< (MetricDetail right) const { return name.localeAwareCompare(right.name) < 0; }
|
||||
|
||||
int type;
|
||||
bool stack; // should this be stacked?
|
||||
|
||||
Reference in New Issue
Block a user