Skip to content
Snippets Groups Projects
Commit 4eefc618 authored by Paul Tvete's avatar Paul Tvete
Browse files

Can't fill pixmap with contents of widget anymore

Use a transparent pixmap instead, since Qt supports that now.
parent fd72c7b0
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment