a11y atspi: Fix incorrect use of x instead of y position

Fixes: QTBUG-105031
Pick-to: 6.4 6.3 6.2
Change-Id: I26fcbfbd5a90982b87dda89b2880efe937f099d8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Michael Weghorn 2022-07-18 09:11:42 +02:00
parent e16f742479
commit d40dacf5f4

View File

@ -1545,7 +1545,7 @@ static QRect getRelativeRect(QAccessibleInterface *interface)
wr = window->rect(); wr = window->rect();
cr.setX(cr.x() - wr.x()); cr.setX(cr.x() - wr.x());
cr.setY(cr.x() - wr.y()); cr.setY(cr.y() - wr.y());
} }
return cr; return cr;
} }