Fix build with GCC.

This commit is contained in:
John Preston 2022-02-01 01:51:06 +03:00
parent 5acbd74670
commit 6af9023eb7

View file

@ -1845,7 +1845,6 @@ private:
const auto cornerWidth = cache.corners[0].width()
/ style::DevicePixelRatio();
const auto useWidth = ((x + width).toInt() - x.toInt()) - elideOffset;
const auto minWidth = cornerWidth * 2;
const auto rect = QRect(
x.toInt(),
_y + _yDelta,