Commit 8ea7214b authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Use the non deprecated version of the PixmapRequest constructor

parent bcbaec05
Pipeline #79646 passed with stage
in 9 minutes and 51 seconds
......@@ -92,7 +92,7 @@ void KIMGIOTest::testExifOrientation()
QCOMPARE(m_document->page(0)->height(), double(2));
// 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);
QVERIFY(m_document->page(0)->hasPixmap(dummyDocumentObserver, 3, 2));
......
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