diff --git a/Telegram/SourceFiles/history/view/history_view_about_view.cpp b/Telegram/SourceFiles/history/view/history_view_about_view.cpp index 07a126eec0..c30fcf2597 100644 --- a/Telegram/SourceFiles/history/view/history_view_about_view.cpp +++ b/Telegram/SourceFiles/history/view/history_view_about_view.cpp @@ -348,6 +348,7 @@ auto GenerateNewBotThread( const auto x = (outerWidth - icon.width()) / 2; const auto y = (size - icon.height()) / 2 + st::newThreadAboutIconSkip; + auto hq = PainterHighQualityEnabler(p); p.setPen(Qt::NoPen); p.setBrush(context.st->msgServiceBgSelected()); p.drawEllipse( diff --git a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp index 691c37ba16..26693dcead 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp @@ -1774,6 +1774,7 @@ void TopBar::paintUserpic(QPainter &p, const QRect &geometry) { const auto size = st::infoProfileTopBarPhotoSize; const auto frame = _videoUserpicPlayer->frame(Size(size), _peer); if (!frame.isNull()) { + auto hq = PainterHighQualityEnabler(p); p.drawImage(geometry, frame); update(); return; @@ -1818,7 +1819,10 @@ void TopBar::paintUserpic(QPainter &p, const QRect &geometry) { _cachedUserpic = std::move(image); _cachedUserpic.setDevicePixelRatio(style::DevicePixelRatio()); } - p.drawImage(geometry, _cachedUserpic); + { + auto hq = PainterHighQualityEnabler(p); + p.drawImage(geometry, _cachedUserpic); + } if (_uploadOverlay && _uploadOverlay->shown()) { _uploadOverlay->paint(p, geometry, { .lineWidth = st::defaultUserpicButton.uploadProgressLine,