Commit 88682165 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Port away from deprecated API

Test Plan: Builds now with Qt 5.15.0

Reviewers: sars, mlaurent

Reviewed By: sars, mlaurent

Differential Revision:
parent bdabe32a
......@@ -168,7 +168,7 @@ void KSaneViewer::setQImage(QImage *img)
// clear zoom
const auto dpr = img->devicePixelRatio();
d->scene->setSceneRect(0, 0, img->width() / dpr, img->height() / dpr);
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