diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-10-31 14:21:05 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-11-04 08:58:00 +0100 |
commit | 906f8a62f89a7ce2343a155e6db62616e66dc14b (patch) | |
tree | d69a56f76f4500fe71840896d604caf032aea645 /qt3d.pro | |
parent | fae98c57264e78e62c5955559c7e513969462a79 (diff) |
QNode: stop using hash<node,connection> for bookkeepingv5.14.0-beta3
It is totally valid to have actually the same node used for 2 distinct
connections (e.g setting 2 different node properties to the same node).
With the hash, the second setter call would overwrite the first connection
resulting in leaving a dangling connection around potentially resulting in
crashes.
Instead use a QVector<pair<node, connection>> and adjust code accordingly.
Change-Id: I49870c409c3f7b629c8f1bdfcb8757a904db2490
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'qt3d.pro')
0 files changed, 0 insertions, 0 deletions