Fix crash during autotest execution on Mac OS X
Change-Id: Ib9cd6791a7b48a0cde9e6d991b2d7f6fb4020819 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
beef975f92
commit
9b0809d50a
@ -1010,6 +1010,9 @@ QAccessible::Role QAccessibleTableCell::role() const
|
||||
QAccessible::State QAccessibleTableCell::state() const
|
||||
{
|
||||
QAccessible::State st;
|
||||
if (!view)
|
||||
return st;
|
||||
|
||||
QRect globalRect = view->rect();
|
||||
globalRect.translate(view->mapToGlobal(QPoint(0,0)));
|
||||
if (!globalRect.intersects(rect()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user