Adapted to PagePainter changes.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400311
This commit is contained in:
Enrico Ros 2005-03-24 19:59:50 +00:00
parent e5eb63ec71
commit c93d339c57

View file

@ -448,7 +448,7 @@ void PresentationWidget::generateContentsPage( int pageNum, QPainter & p )
// draw the page using the shared PagePainter class
int flags = PagePainter::Accessibility;
PagePainter::paintPageOnPainter( frame->page, PRESENTATION_ID, flags,
&p, geom, geom.width(), geom.height() );
&p, geom.width(), geom.height(), geom );
// restore painter
p.translate( -frame->geometry.left(), -frame->geometry.top() );