summaryrefslogtreecommitdiff
path: root/framework/Module_framework.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-09-07 20:08:57 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2020-09-07 21:15:05 +0200
commit4461d49c6cfce22c2c96185b0a1d07bfe9709268 (patch)
tree033282965c93a7a3cd0462136049fdbcaec44b9a /framework/Module_framework.mk
parentfc78ae850eb3e1753febf3e9a2a559fcf206824c (diff)
tdf#136323 qt5: Remember accessible object
'QAccessibleCache::insert' from the Qt library has a 'Q_ASSERT' checking that the corresponding 'QObject' for which the 'QAccessibleInterface' provides information is actually the same as the object passed as a parameter: QAccessible::Id QAccessibleCache::insert(QObject *object, QAccessibleInterface *iface) const { // ... QObject *obj = iface->object(); -> Q_ASSERT(object == obj); However, 'Qt5AccessibleWidget::object' so far was always returning 'nullptr', triggering this assert when using a Qt version not built with 'QT_NO_DEBUG'. To fix this, remember and return the object as needed. Change-Id: I4015b4c37aa8a073b02465df580a7235884e6cf3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102196 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'framework/Module_framework.mk')
0 files changed, 0 insertions, 0 deletions