mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(widget): use drawRoundedRect in callconfirmwidget
This commit is contained in:
parent
b45ba34be2
commit
0ac5386786
|
@ -148,7 +148,7 @@ void CallConfirmWidget::paintEvent(QPaintEvent*)
|
||||||
painter.setBrush(brush);
|
painter.setBrush(brush);
|
||||||
painter.setPen(Qt::NoPen);
|
painter.setPen(Qt::NoPen);
|
||||||
|
|
||||||
painter.drawRoundRect(mainRect, roundedFactor * rectRatio, roundedFactor);
|
painter.drawRoundedRect(mainRect, roundedFactor * rectRatio, roundedFactor, Qt::RelativeSize);
|
||||||
painter.drawPolygon(spikePoly);
|
painter.drawPolygon(spikePoly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user