|
|
|
|
@ -563,7 +563,6 @@ bool DocumentPrivate::loadDocumentInfo( QFile &infoFile, LoadDocumentInfoFlags l |
|
|
|
|
if ( root.tagName() != QLatin1String("documentInfo") ) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
QUrl documentUrl( root.attribute( "url" ) ); |
|
|
|
|
bool loadedAnything = false; // set if something gets actually loaded
|
|
|
|
|
|
|
|
|
|
// Parse the DOM tree
|
|
|
|
|
@ -1580,8 +1579,6 @@ void DocumentPrivate::refreshPixmaps( int pageNumber ) |
|
|
|
|
|
|
|
|
|
PixmapRequest * p = new PixmapRequest( observer, pageNumber, tilesManager->width() / qApp->devicePixelRatio(), tilesManager->height() / qApp->devicePixelRatio(), 1, PixmapRequest::Asynchronous ); |
|
|
|
|
|
|
|
|
|
NormalizedRect tilesRect; |
|
|
|
|
|
|
|
|
|
// Get the visible page rect
|
|
|
|
|
NormalizedRect visibleRect; |
|
|
|
|
QVector< Okular::VisiblePageRect * >::const_iterator vIt = m_pageRects.constBegin(), vEnd = m_pageRects.constEnd(); |
|
|
|
|
|