From c4fc43ccc0cb309893b127da24f3cd489bfd56c5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 13 Mar 2024 20:50:19 +0400 Subject: [PATCH] Fix rounding in boost features box. --- Telegram/SourceFiles/ui/boxes/boost_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/ui/boxes/boost_box.cpp b/Telegram/SourceFiles/ui/boxes/boost_box.cpp index ff4c92c4e..0486d0cc3 100644 --- a/Telegram/SourceFiles/ui/boxes/boost_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/boost_box.cpp @@ -127,6 +127,7 @@ namespace { st::boostLevelBadge.style.font->height ).marginsAdded(st::boostLevelBadge.margin); auto p = QPainter(label); + auto hq = PainterHighQualityEnabler(p); auto gradient = QLinearGradient( rect.topLeft(), rect.topRight());