Commit 2f4c634c authored by Paul Tvete's avatar Paul Tvete

Rectangle painting has changed since Qt 1.0

Doc says "a stroked rectangle has a size of rectangle.size()
plus the pen width".
parent 8f1c307a
......@@ -184,7 +184,7 @@ void CannonField::paintTarget( QPainter *p )
{
p->setBrush( Qt::red );
p->setPen( Qt::black );
p->drawRect( targetRect() );
p->drawRect( targetRect().adjusted(0, 0, -1, -1) );
}
void CannonField::paintBarrier( QPainter *p )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment