Remove unused function.

Change-Id: Ie8eecf7e4a7475ac84a66b6055149ce92d019785
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
Frederik Gladhorn 2012-09-28 19:56:27 +02:00 committed by The Qt Project
parent 26022a4eee
commit 375f5b4424

View File

@ -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;