Commit 4eefc618 authored by Paul Tvete's avatar Paul Tvete

Can't fill pixmap with contents of widget anymore

Use a transparent pixmap instead, since Qt supports that now.
parent fd72c7b0
......@@ -202,7 +202,7 @@ void CannonField::paintCannon( QPainter *p )
QPixmap pix( cr.size() );
QPainter tmp;
pix.fill( this, cr.topLeft() );
pix.fill( Qt::transparent );
tmp.begin( &pix );
tmp.setBrush( Qt::blue );
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