diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2012-09-28 19:56:27 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-03 17:34:40 +0200 |
commit | 375f5b442460f5df429ce352830bec8929851e3d (patch) | |
tree | df2a97df22d1c234e089bdf379cd4c3bdbfbad32 /tests | |
parent | 26022a4eee1041afc22b50c2786c8690c8f98c07 (diff) |
Remove unused function.
Change-Id: Ie8eecf7e4a7475ac84a66b6055149ce92d019785
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index 13d225b444..1b789b26ae 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -870,17 +870,6 @@ public Q_SLOTS: } }; -static QAccessibleInterface *relatedInterface(QAccessibleInterface *iface, QAccessible::RelationFlag flag) -{ - typedef QPair<QAccessibleInterface *, QAccessible::Relation> RelationPair; - QVector<RelationPair> rels = iface->relations(flag); - - for (int i = 1; i < rels.count(); ++i) - delete rels.at(i).first; - - return rels.value(0).first; -} - void tst_QAccessibility::buttonTest() { QWidget window; |