From dc715221c793862267c09b179ab3acaa62ef0bbc Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Thu, 21 Jul 2022 13:14:49 +0200 Subject: [PATCH] =?UTF-8?q?using=20better=20encoding=20for=20=C2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/jkqtplot_test/TestWidgetLogGraphs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/jkqtplot_test/TestWidgetLogGraphs.cpp b/examples/jkqtplot_test/TestWidgetLogGraphs.cpp index c3349d47d3..61f7f65850 100644 --- a/examples/jkqtplot_test/TestWidgetLogGraphs.cpp +++ b/examples/jkqtplot_test/TestWidgetLogGraphs.cpp @@ -100,14 +100,14 @@ TestWidgetLogGraphs::TestWidgetLogGraphs(QWidget *parent) : QDoubleSpinBox* spinLOGAngle=new QDoubleSpinBox(this); spinLOGAngle->setRange(-90,90); - spinLOGAngle->setSuffix(QLatin1String("°")); + spinLOGAngle->setSuffix(QChar(0xB0)); connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getXAxis(), SLOT(setTickLabelAngle(double))); layWid->addRow("X-Axis tick label angle", spinLOGAngle); spinLOGAngle->setValue(0); spinLOGAngle=new QDoubleSpinBox(this); spinLOGAngle->setRange(-90,90); - spinLOGAngle->setSuffix(QLatin1String("°")); + spinLOGAngle->setSuffix(QChar(0xB0)); connect(spinLOGAngle, SIGNAL(valueChanged(double)), plotLOG->getPlotter()->getYAxis(), SLOT(setTickLabelAngle(double))); layWid->addRow(tr("Y-axis label angle = "), spinLOGAngle); spinLOGAngle->setValue(0);