summaryrefslogtreecommitdiffstats
path: root/tests/auto/qaccessibility
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-22 14:39:00 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-04-27 13:35:48 (GMT)
commitc3ebd1d38826739cb989e65770d2a22b9a39dcc4 (patch)
treee0e04077a137becbfc7a706be35d43c25a91a687 /tests/auto/qaccessibility
parent6bd74d66b418cad30ed5a448e657a7a5097eed4a (diff)
downloadQt-c3ebd1d38826739cb989e65770d2a22b9a39dcc4.zip
Qt-c3ebd1d38826739cb989e65770d2a22b9a39dcc4.tar.gz
Qt-c3ebd1d38826739cb989e65770d2a22b9a39dcc4.tar.bz2
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 ab1a8f7..7ff1a08 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;
}