summaryrefslogtreecommitdiffstats
path: root/tests/auto/qaccessibility
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-22 16:39:00 +0200
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-27 15:35:48 +0200
commitc3ebd1d38826739cb989e65770d2a22b9a39dcc4 (patch)
treee0e04077a137becbfc7a706be35d43c25a91a687 /tests/auto/qaccessibility
parent6bd74d66b418cad30ed5a448e657a7a5097eed4a (diff)
Fix warning (unused variable) in QAccessibility test.
Reviewed-by: Morten Sorvig
Diffstat (limited to 'tests/auto/qaccessibility')
-rw-r--r--tests/auto/qaccessibility/tst_qaccessibility.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qaccessibility/tst_qaccessibility.cpp b/tests/auto/qaccessibility/tst_qaccessibility.cpp
index ab1a8f732d..7ff1a0867c 100644
--- a/tests/auto/qaccessibility/tst_qaccessibility.cpp
+++ b/tests/auto/qaccessibility/tst_qaccessibility.cpp
@@ -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;
}