diff --git a/demos/qmlweather/qml/qmlweather/main.qml b/demos/qmlweather/qml/qmlweather/main.qml index fed5ba0..61bdd8b 100644 --- a/demos/qmlweather/qml/qmlweather/main.qml +++ b/demos/qmlweather/qml/qmlweather/main.qml @@ -65,7 +65,7 @@ Rectangle { id: valueAxisY min: 0 max: 15 - titleText: "Temperature [\u00B0C]" + titleText: "Temperature [°C]" } LineSeries { diff --git a/examples/temperaturerecords/main.cpp b/examples/temperaturerecords/main.cpp index 25c50c1..ea74982 100644 --- a/examples/temperaturerecords/main.cpp +++ b/examples/temperaturerecords/main.cpp @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) chart->createDefaultAxes(); chart->setAxisX(axis, series); chart->axisY(series)->setRange(-52, 52); - chart->axisY(series)->setTitleText(QString::fromUtf8("Temperature [\u00B0C]")); + chart->axisY(series)->setTitleText("Temperature [°C]"); //![4] //![5]