Accessibility: Ignore TableModelChanges on Linux for now.
This part will be improved in Qt 5.1. Currently it just spits out debug messages for unhandled events. Change-Id: I22475317ab54a8223d42536e1cee3f93a969e497 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
parent
e74bf9497c
commit
681085c198
@ -1104,22 +1104,10 @@ void AtSpiAdaptor::notify(QAccessibleEvent *event)
|
||||
}
|
||||
break;
|
||||
}
|
||||
// case QAccessible::TableModelChanged: {
|
||||
// // This is rather evil. We don't send data and hope that at-spi fetches the right child.
|
||||
// // This hack fails when a row gets removed and a different one added in its place.
|
||||
// QDBusVariant data;
|
||||
// emit ChildrenChanged("add", 0, 0, data, spiBridge->getRootReference());
|
||||
// break;
|
||||
// }
|
||||
// case QAccessible::TableModelChanged:
|
||||
// QAccessible2::TableModelChange change = interface->tableInterface()->modelChange();
|
||||
// // assume we should reset if everything is 0
|
||||
// if (change.firstColumn == 0 && change.firstRow == 0 && change.lastColumn == 0 && change.lastRow == 0) {
|
||||
// notifyAboutDestruction(accessible);
|
||||
// notifyAboutCreation(accessible);
|
||||
// }
|
||||
// break;
|
||||
|
||||
case QAccessible::TableModelChanged:
|
||||
// For now we ignore this event and hope that
|
||||
// setting manages_descendants works.
|
||||
break;
|
||||
case QAccessible::ParentChanged:
|
||||
break;
|
||||
case QAccessible::DialogStart:
|
||||
|
Loading…
Reference in New Issue
Block a user