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