draw correctly the border of the rectangular selection

svn path=/trunk/KDE/kdegraphics/okular/; revision=746592
This commit is contained in:
Pino Toscano 2007-12-09 16:14:24 +00:00
parent cd5b0a9d7f
commit 76d061b443

View file

@ -1033,7 +1033,7 @@ void PageView::contentsPaintEvent(QPaintEvent *pe)
}
// draw border (red if the selection is too small)
pixmapPainter.setPen( selBlendColor );
pixmapPainter.drawRect( selectionRect );
pixmapPainter.drawRect( selectionRect.adjusted( 0, 0, -1, -1 ) );
}
// 3) Layer 1: give annotator painting control
if ( d->annotator && d->annotator->routePaints( contentsRect ) )