1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Use a unicode character constant that works on all OSs (Windows)

This commit is contained in:
Martin Tůma 2020-03-27 00:11:12 +01:00
parent 0b6b09f226
commit 1f5ecdfc38

View File

@ -445,8 +445,8 @@ void GraphView::updateSliderInfo()
'f', _precision) + UNIT_SPACE + _yUnits);
if (cardinal && cardinal->secondaryGraph()) {
qreal delta = y - cardinal->secondaryGraph()->yAtX(_sliderPos);
yText += " \u0394" + l.toString(-delta * _yScale + _yOffset, 'f',
_precision) + UNIT_SPACE + _yUnits;
yText += " " + QChar(0x0394) + l.toString(-delta * _yScale + _yOffset,
'f', _precision) + UNIT_SPACE + _yUnits;
}
_sliderInfo->setText(xText, yText);
}