diff --git a/src/Charts/LTMSettings.h b/src/Charts/LTMSettings.h index 4a3991cf1..5baf00704 100644 --- a/src/Charts/LTMSettings.h +++ b/src/Charts/LTMSettings.h @@ -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?