Fix highlight/annotation clipping with Qt scaling

Authored by davidedmundson on Nov 15 2017, 11:14 PM.

Description

Fix highlight/annotation clipping with Qt scaling

Summary:
pixelValue/pixelValue will give us a normalised value.

Normalised values shouldn't be modified by a device pixel ratio.
We want scaledRect not dScaledRect.

BUG: 386110

Test Plan:
Searched for text. Zoomed in, panned about
Created annotations, they still seemed to work

Subscribers: Okular

Tags: Okular

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

Details

Committed
davidedmundsonNov 23 2017, 11:29 PM
Differential Revision
D8832: Fix highlight/annotation clipping with Qt scaling
Parents
R223:22ee80d31787: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown