diff options
| author | Eike Ziller <eike.ziller@qt.io> | 2021-12-03 12:22:16 +0100 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@qt.io> | 2021-12-06 10:30:47 +0000 |
| commit | 8d08196a21184330f18343921f523966d778a739 (patch) | |
| tree | d1ffde036c4e62f68ffed5ae8f5ef19a9f192b07 /scripts/build.py | |
| parent | 4a37833803f0c8a702017a641dcfd36812fa81c1 (diff) | |
Fix crash when removing built-in snippets
Snippets collection managed the snippets with persistent iterators to
the "end" of the active snippets. Qt 5's QList was nicely updating
iterators even on non-const operations, but that has changed in Qt 6.
Don't use iterators, simply work with the count of active items.
Fixes: QTCREATORBUG-26648
Task-number: QTCREATORBUG-24098
Change-Id: Icc13274daf0e87d0562d80d7bc763c863d5da075
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'scripts/build.py')
0 files changed, 0 insertions, 0 deletions
