Remove unused function

Change-Id: I2f629ce9a414c822aba20000f36f06a18594c7a3
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
This commit is contained in:
Frederik Gladhorn 2014-05-21 11:38:26 +02:00 committed by Frederik Gladhorn
parent a91ac8d5a6
commit 299350f668

View File

@ -162,16 +162,6 @@ static inline bool verifyChild(QWidget *child, QAccessibleInterface *interface,
return true;
}
static inline int indexOfChild(QAccessibleInterface *parentInterface, QWidget *childWidget)
{
if (!parentInterface || !childWidget)
return -1;
QAccessibleInterface *childInterface(QAccessible::queryAccessibleInterface(childWidget));
if (!childInterface)
return -1;
return parentInterface->indexOfChild(childInterface);
}
#define EXPECT(cond) \
do { \
if (!errorAt && !(cond)) { \