Remove unused function
Change-Id: I2f629ce9a414c822aba20000f36f06a18594c7a3 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
This commit is contained in:
parent
a91ac8d5a6
commit
299350f668
@ -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)) { \
|
||||
|
Loading…
Reference in New Issue
Block a user