1
0
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:
jenli669 2019-07-13 23:59:50 +02:00
parent b45ba34be2
commit 0ac5386786
No known key found for this signature in database
GPG Key ID: 8267F9F7C2BF7E5E

View File

@ -148,7 +148,7 @@ void CallConfirmWidget::paintEvent(QPaintEvent*)
painter.setBrush(brush);
painter.setPen(Qt::NoPen);
painter.drawRoundRect(mainRect, roundedFactor * rectRatio, roundedFactor);
painter.drawRoundedRect(mainRect, roundedFactor * rectRatio, roundedFactor, Qt::RelativeSize);
painter.drawPolygon(spikePoly);
}