From b31d43cbed0e8e7097b170b0b5ab30acab0802b0 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 3 Apr 2024 19:31:52 +0300 Subject: [PATCH] Fixed circle drawing in titles of some sections in channel earn info. --- .../info/channel_statistics/earn/info_earn_inner_widget.cpp | 1 + Telegram/SourceFiles/menu/menu_sponsored.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp index 19857a5ea..80e377e1e 100644 --- a/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp +++ b/Telegram/SourceFiles/info/channel_statistics/earn/info_earn_inner_widget.cpp @@ -372,6 +372,7 @@ void InnerWidget::fill() { widget->paintRequest( ) | rpl::start_with_next([=] { auto p = Painter(widget); + auto hq = PainterHighQualityEnabler(p); p.setPen(Qt::NoPen); p.setBrush(st::activeButtonBg); p.drawEllipse(rect); diff --git a/Telegram/SourceFiles/menu/menu_sponsored.cpp b/Telegram/SourceFiles/menu/menu_sponsored.cpp index bb8109d2b..bfa8427f1 100644 --- a/Telegram/SourceFiles/menu/menu_sponsored.cpp +++ b/Telegram/SourceFiles/menu/menu_sponsored.cpp @@ -60,6 +60,7 @@ void AboutBox( widget->paintRequest( ) | rpl::start_with_next([=] { auto p = Painter(widget); + auto hq = PainterHighQualityEnabler(p); p.setPen(Qt::NoPen); p.setBrush(st::activeButtonBg); p.drawEllipse(rect);