Fix premium settings cover.

This commit is contained in:
John Preston 2022-06-14 16:23:09 +04:00
parent 7b4fca57ae
commit 3e5b52bc2e
1 changed files with 1 additions and 0 deletions

View File

@ -558,6 +558,7 @@ void TopBar::paintEvent(QPaintEvent *e) {
PainterHighQualityEnabler hq(p); PainterHighQualityEnabler hq(p);
if (_roundEdges) { if (_roundEdges) {
const auto radius = st::boxRadius; const auto radius = st::boxRadius;
p.setPen(Qt::NoPen);
p.setBrush(gradient); p.setBrush(gradient);
p.drawRoundedRect( p.drawRoundedRect(
r + QMargins{ 0, 0, 0, radius + 1 }, r + QMargins{ 0, 0, 0, radius + 1 },