Fix blurry preview on HiDPI displays

Authored by Lekensteyn on Oct 13 2016, 5:47 PM.

Description

Fix blurry preview on HiDPI displays

THe captured pixmap should always have devicePixelRatio one, it only
needs to be changed when it is actually drawn in the preview widget.

Also fixes a regression from e4c2e564a5b91497132d9a20d8f521af405286bd
("Replace KScreen by QScreen for current window grab"), now the current
screen grab mode will again capture the full screen on HiDPI screens.

Tested with: QT_SCALE_FACTOR=2 src/spectacle

REVIEW: 129189

Details

Committed
LekensteynOct 20 2016, 8:39 PM
Parents
R166:1e5839483257: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown