diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-07-14 23:27:44 (GMT) |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-07-14 23:27:44 (GMT) |
commit | 2a326fdc8f8bf2bd2c5764394616100906d9db2d (patch) | |
tree | afaea9af22dcb1674fd503ca6594765735462349 /tests/auto/qaccessibility | |
parent | c2086926a527db9fa55f1352c13cf055e844a934 (diff) | |
download | Qt-2a326fdc8f8bf2bd2c5764394616100906d9db2d.zip Qt-2a326fdc8f8bf2bd2c5764394616100906d9db2d.tar.gz Qt-2a326fdc8f8bf2bd2c5764394616100906d9db2d.tar.bz2 |
Fix test for win and mac.
Accidentally removed & in some places.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qaccessibility')
-rw-r--r-- | tests/auto/qaccessibility/tst_qaccessibility.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qaccessibility/tst_qaccessibility.cpp b/tests/auto/qaccessibility/tst_qaccessibility.cpp index 2db9f75..abe7fa7 100644 --- a/tests/auto/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/qaccessibility/tst_qaccessibility.cpp @@ -2766,7 +2766,7 @@ void tst_QAccessibility::listViewTest() #else { QListView listView; - QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(listView); + QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(&listView); QVERIFY(iface); QCOMPARE(iface->childCount(), 1); delete iface; @@ -2780,11 +2780,11 @@ void tst_QAccessibility::listViewTest() listView.show(); QTest::qWait(1); // Need this for indexOfchild to work. #if defined(Q_WS_X11) - qt_x11_wait_for_window_manager(listView); + qt_x11_wait_for_window_manager(&listView); QTest::qWait(100); #endif - QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(listView); + QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(&listView); QCOMPARE((int)iface->role(0), (int)QAccessible::Client); QCOMPARE((int)iface->role(1), (int)QAccessible::List); QCOMPARE(iface->childCount(), 1); |