From 1345779cfc3fc462cc52c812672ea28f0f8eb46d Mon Sep 17 00:00:00 2001 From: Ale Martinez Date: Sat, 7 Nov 2020 18:23:39 -0300 Subject: [PATCH] Fix typo in MeterWidget It makes slope text to disappear in the second half of the ride --- src/Train/MeterWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Train/MeterWidget.cpp b/src/Train/MeterWidget.cpp index 8a07c1a17..346ea6219 100644 --- a/src/Train/MeterWidget.cpp +++ b/src/Train/MeterWidget.cpp @@ -464,7 +464,7 @@ void ElevationMeterWidget::paintEvent(QPaintEvent* paintevent) if (cyclistX < m_Width * 0.5) gradientDrawX += 5.; else - gradientDrawX =- 45.; + gradientDrawX -= 45.; painter.drawText(gradientDrawX, gradientDrawY, gradientString);