mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Use the non deprecated version of the PixmapRequest constructor
This commit is contained in:
parent
bcbaec0563
commit
8ea7214b01
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue