Remove unused function.
Change-Id: Ie8eecf7e4a7475ac84a66b6055149ce92d019785 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
26022a4eee
commit
375f5b4424
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user