Version 4.12: Fix build with GCC.

This commit is contained in:
John Preston
2023-11-30 20:59:58 +04:00
parent 98be0a69df
commit 0e2131e6eb
9 changed files with 2 additions and 14 deletions

View File

@@ -155,7 +155,6 @@ void BarChartView::paintSelectedXIndex(
auto o = ScopedPainterOpacity(p, progress);
p.setBrush(st::boxBg);
const auto r = st::statisticsDetailsDotRadius;
const auto i = selectedXIndex;
const auto isSameToken = _selectedPoints.isSame(selectedXIndex, c);
auto linePainted = false;
@@ -178,7 +177,6 @@ void BarChartView::paintSelectedXIndex(
/ float64(c.heightLimits.max - c.heightLimits.min);
const auto yPoint = (1. - yPercentage) * c.rect.height();
const auto bottomIndex = x - localStart;
const auto column = QRectF(
leftStart + (x - localStart) * w,
c.rect.height() - 0 - yPoint,