summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-26 21:40:27 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-01 17:43:08 +0200
commit7993cada3961cca417431a392fc047a3d7909657 (patch)
tree3775e82e397cb414f89669b6a5673c8e23a28846 /util
parent2f672b223900e056ffa642d3186e6cdcac9152aa (diff)
QAccessibleWidget: fix UB (invalid cast)
Casting an object to a subclass that is not the dynamic type of the object constitutes undefined behavior. Fix by befriending QObject. Change-Id: Ib70dbef9095df31a6d89449d82a02cef9fccd348 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions