Fix blurry preview on HiDPI displays
Review Request #129189 - Created Oct. 15, 2016 and submitted
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
Image is sharper now with this option.