diff --git a/generators/kimgio/tests/kimgiotest.cpp b/generators/kimgio/tests/kimgiotest.cpp index d521a5a7b..417bdd0f7 100644 --- a/generators/kimgio/tests/kimgiotest.cpp +++ b/generators/kimgio/tests/kimgiotest.cpp @@ -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() << req); QVERIFY(m_document->page(0)->hasPixmap(dummyDocumentObserver, 3, 2));