diff options
author | Dominik Holland <dominik.holland@qt.io> | 2022-12-13 17:27:17 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-12-13 17:58:35 +0000 |
commit | bed4106616e62e1afb8f9a617e0f841192a132bd (patch) | |
tree | 008449e1ee39667c6055cc7c85c96521fdf5d75c /sync.profile | |
parent | 07f860055442c042daa8d726269388da74d1bcd9 (diff) |
Fix calling initialize() twice in QIfMediaDeviceDiscoveryModel6.3
This caused the signals to be emitted twice as well and calling
resetModel() a second time.
resetModel() deleted all elements although it didn't own them
and this caused a crash when calling resetModel() again with a
list of dangling pointers.
Change-Id: Iad0455e10867235aae2478704acdcb53fbce1930
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
(cherry picked from commit 716c858a253e3abebc08a72b3426735f55ecd3e7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions