mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
Delegate paint to base.
This commit is contained in:
parent
9919a905f6
commit
4787028d12
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ BackgroundPlateWidget::BackgroundPlateWidget(QWidget *parent) : QWidget(parent)
|
|||
|
||||
void BackgroundPlateWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
QWidget::paintEvent(event);
|
||||
QPainter painter(this);
|
||||
painter.setRenderHint(QPainter::Antialiasing, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue