Fix premium settings cover.
This commit is contained in:
parent
7b4fca57ae
commit
3e5b52bc2e
|
@ -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 },
|
||||||
|
|
Loading…
Reference in New Issue