mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fixed implicit conversions from double to int warnings regarding
QPainter.drawRect()
This commit is contained in:
parent
314db1f464
commit
0022425687
3 changed files with 4 additions and 4 deletions
|
|
@ -77,7 +77,7 @@ void ToggleButton::paintEvent(QPaintEvent *event)
|
|||
painter.setPen(QPen(Qt::green, 3));
|
||||
else
|
||||
painter.setPen(QPen(Qt::red, 3));
|
||||
painter.drawRect(1.5, 1.5, width() - 3, height() - 3);
|
||||
painter.drawRect(1, 1, width() - 3, height() - 3);
|
||||
}
|
||||
|
||||
void ToggleButton::setState(bool _state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue