Set preview to correct device size

Authored by davidedmundson on Oct 13 2019, 4:15 PM.

Description

Set preview to correct device size

Summary:
QQuickImage::sourceSize is in device pixels for pixmap images.

Converting is the responsibility of the calling code.

BUG: 407689

Test Plan:
QT_SCALE_FACTOR=1.5 kcmshell5 sddm
Looked at image

Reviewers: Plasma, apol

Reviewed By: apol

Subscribers: ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D24591

Details

Committed
davidedmundsonOct 13 2019, 4:15 PM
Reviewer
apol
Differential Revision
D24591: Set preview to correct device size
Parents
R123:8a9d7e9d1c4a: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown