Commit 5b8d51d6 authored by Fabio D'Urso's avatar Fabio D'Urso

Fixed wrong index

BUG: 311601
parent 3485faf6
......@@ -4192,7 +4192,7 @@ void PageView::slotRequestVisiblePixmaps( int newValue )
const int headRequest = d->visibleItems.first()->pageNumber() - j;
if ( headRequest >= 0 )
{
slotRequestPreloadPixmap( d->items[ tailRequest ], expandedViewportRect, &requestedPixmaps );
slotRequestPreloadPixmap( d->items[ headRequest ], expandedViewportRect, &requestedPixmaps );
}
// stop if we've already reached both ends of the document
......
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