silence compiler warnings

This commit is contained in:
garak
2019-08-06 23:35:02 -04:00
parent e87d669e1d
commit f89804dd16
16 changed files with 41 additions and 29 deletions

View File

@@ -18,8 +18,7 @@ public:
20 * 8 + penWidth * 2);
}
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QWidget *widget) override
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override
{
painter->setPen(this->color);
painter->drawRect(-2, -2, this->width + 3, this->height + 3);