mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Merge 9e98a6386d into 587c4b43c1
This commit is contained in:
commit
cd66c93dc0
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ void HomeStyledButton::paintEvent(QPaintEvent *event)
|
||||||
|
|
||||||
QPainterPath path;
|
QPainterPath path;
|
||||||
path.addText(center, font(), text());
|
path.addText(center, font(), text());
|
||||||
|
path.setFillRule(Qt::WindingFill);
|
||||||
|
|
||||||
QPen pen(Qt::black, 4.0, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin);
|
QPen pen(Qt::black, 4.0, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin);
|
||||||
painter.strokePath(path, pen);
|
painter.strokePath(path, pen);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue