diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2017-01-18 13:31:06 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-01-18 14:20:38 +0000 |
commit | 88932d4339ea604a1bea8c09aef3945ac348df9c (patch) | |
tree | 9db8f9154afb873ecc0db13f8b8e8cccb710d539 /src/plugins/platforms/windows/qwindowsintegration.cpp | |
parent | cfd069181c01bbade16c173a96100819aa719613 (diff) |
Android: transform input rectangle correctly
QRect::setX/setY will change both position and size. In this case,
the width and/or height of the input rectangle could end up
negative. The correct functions to use are moveLeft/moveTop which
will preserve the size when changing the position.
Task-number: QTBUG-58179
Change-Id: I71a2e38958754dc53e062ad1c780e2337f72ec32
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsintegration.cpp')
0 files changed, 0 insertions, 0 deletions