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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 )