Skip to content
Commit d8dc5605 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

table: Workaround a memory leak in QQmlPropertyCache

Apparently, the combination of a Connections object along with the
QAbstractItemModel::layoutChanged() signal leads to a memory leak inside
QQmlPropertyCache::createArgumentsObject(). To avoid that, put a proxy
signal in between that Connections can connect to.

The bug no longer exists in Qt 6 so this should be reverted after
switching to Qt 6.

BUG: 460370


(cherry picked from commit ebd16976)
parent 60f821bc
Pipeline #315966 passed with stage
in 1 minute and 32 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment