Fix build with GCC.

This commit is contained in:
John Preston 2024-01-02 00:22:22 +04:00
parent d5a0f4890d
commit 4aa432ecbe

View file

@ -56,7 +56,6 @@ void DrawCornerBadgeTTL(
const style::color &color,
const QRect &circleRect) {
p.save();
const auto ratio = style::DevicePixelRatio();
const auto partRect = QRect(
circleRect.left() + circleRect.width() - st::dialogsTTLBadgeSize * 0.85,
circleRect.top() + circleRect.height() - st::dialogsTTLBadgeSize * 0.85,