that made it crash so revert :-S

svn path=/branches/work/kde4/playground/graphics/okular/; revision=540468
This commit is contained in:
Albert Astals Cid 2006-05-13 14:48:16 +00:00
parent 844bc80c00
commit 4b2f10a3ba

View file

@ -384,8 +384,11 @@ void PagePainter::paintPageOnPainter( QPainter * destPainter, const KPDFPage * p
} // end current annotation drawing } // end current annotation drawing
} }
// 4B.6. create a painter over the image and set it as the active one // 4B.5. create the back pixmap converting from the local image
mixedPainter = new QPainter( &backImage ); backPixmap = new QPixmap( backImage );
// 4B.6. create a painter over the pixmap and set it as the active one
mixedPainter = new QPainter( backPixmap );
mixedPainter->translate( -limits.left(), -limits.top() ); mixedPainter->translate( -limits.left(), -limits.top() );
} }