Fix warning (unused variable) in QAccessibility test.
Reviewed-by: Morten Sorvig (cherry picked from commit c3ebd1d38826739cb989e65770d2a22b9a39dcc4)
This commit is contained in:
parent
14e31b1f5f
commit
45baf4ed0b
@ -4048,10 +4048,10 @@ void tst_QAccessibility::pushButtonTest()
|
||||
QAccessibleInterface *acc;
|
||||
QAccessibleInterface *acc2;
|
||||
int entry = accToplevel->childAt(pt.x(), pt.y());
|
||||
int child = accToplevel->navigate(QAccessible::Child, entry, &acc);
|
||||
accToplevel->navigate(QAccessible::Child, entry, &acc);
|
||||
if (acc) {
|
||||
entry = acc->childAt(pt.x(), pt.y());
|
||||
child = acc->navigate(QAccessible::Child, entry, &acc2);
|
||||
acc->navigate(QAccessible::Child, entry, &acc2);
|
||||
delete acc;
|
||||
acc = acc2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user