|
|
|
@ -92,7 +92,7 @@ void KIMGIOTest::testExifOrientation() |
|
|
|
QCOMPARE(m_document->page(0)->height(), double(2)); |
|
|
|
QCOMPARE(m_document->page(0)->height(), double(2)); |
|
|
|
|
|
|
|
|
|
|
|
// Generate pixmap
|
|
|
|
// Generate pixmap
|
|
|
|
Okular::PixmapRequest *req = new Okular::PixmapRequest(dummyDocumentObserver, 0, 3, 2, 1, Okular::PixmapRequest::NoFeature); |
|
|
|
Okular::PixmapRequest *req = new Okular::PixmapRequest(dummyDocumentObserver, 0, 3, 2, qApp->devicePixelRatio(), 1, Okular::PixmapRequest::NoFeature); |
|
|
|
m_document->requestPixmaps(QLinkedList<Okular::PixmapRequest *>() << req); |
|
|
|
m_document->requestPixmaps(QLinkedList<Okular::PixmapRequest *>() << req); |
|
|
|
QVERIFY(m_document->page(0)->hasPixmap(dummyDocumentObserver, 3, 2)); |
|
|
|
QVERIFY(m_document->page(0)->hasPixmap(dummyDocumentObserver, 3, 2)); |
|
|
|
|
|
|
|
|
|
|
|
|