summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2015-01-12 20:58:53 +0100
committerAndy Shaw <andy.shaw@digia.com>2015-01-19 10:44:54 +0100
commit7c9497ad6ae9cb4b596bc76c70077577d97fe3cb (patch)
tree3009745c6cef8e9b9c7aeb085ca4c6f01e8d4a73 /tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp
parent730d07df831435d41d40152d5ecec5dea2658042 (diff)
Respect the hotspot passed in for the cursor
When the hotspot is set to be QPoint(0,0) then QPoint will see this as being a null QPoint. However, it is a valid position as far as the hot spot for the cursor is concerned, so we default to QPoint(-1,-1) instead and check for that. Task-number: QTBUG-43787 Change-Id: Ibf6253033016c4b556b8a2a79c89819a4d5825cb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp')
0 files changed, 0 insertions, 0 deletions