mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Use a unicode character constant that works on all OSs (Windows)
This commit is contained in:
parent
0b6b09f226
commit
1f5ecdfc38
@ -445,8 +445,8 @@ void GraphView::updateSliderInfo()
|
|||||||
'f', _precision) + UNIT_SPACE + _yUnits);
|
'f', _precision) + UNIT_SPACE + _yUnits);
|
||||||
if (cardinal && cardinal->secondaryGraph()) {
|
if (cardinal && cardinal->secondaryGraph()) {
|
||||||
qreal delta = y - cardinal->secondaryGraph()->yAtX(_sliderPos);
|
qreal delta = y - cardinal->secondaryGraph()->yAtX(_sliderPos);
|
||||||
yText += " \u0394" + l.toString(-delta * _yScale + _yOffset, 'f',
|
yText += " " + QChar(0x0394) + l.toString(-delta * _yScale + _yOffset,
|
||||||
_precision) + UNIT_SPACE + _yUnits;
|
'f', _precision) + UNIT_SPACE + _yUnits;
|
||||||
}
|
}
|
||||||
_sliderInfo->setText(xText, yText);
|
_sliderInfo->setText(xText, yText);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user