From 375f5b442460f5df429ce352830bec8929851e3d Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 28 Sep 2012 19:56:27 +0200 Subject: [PATCH] Remove unused function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie8eecf7e4a7475ac84a66b6055149ce92d019785 Reviewed-by: Morten Johan Sørvig --- .../auto/other/qaccessibility/tst_qaccessibility.cpp | 11 ----------- 1 file changed, 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 RelationPair; - QVector 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;