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:
parent
e16f742479
commit
d40dacf5f4
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user