Commit f2b06de9 authored by Pino Toscano's avatar Pino Toscano

don't draw external annotations (the backend told us it draws them)

svn path=/trunk/KDE/kdegraphics/okular/; revision=710783
parent f7269279
......@@ -143,7 +143,7 @@ void PagePainter::paintPageOnPainter( QPainter * destPainter, const Okular::Page
for ( ; aIt != aEnd; ++aIt )
{
Okular::Annotation * ann = *aIt;
if ( ann->flags() & Okular::Annotation::Hidden )
if ( ann->flags() & ( Okular::Annotation::Hidden | Okular::Annotation::External ) )
continue;
bool intersects = ann->transformedBoundingRectangle().intersects( nXMin, nYMin, nXMax, nYMax );
......
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