diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-01-06 13:29:23 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-01-11 10:50:19 +0000 |
commit | 74883726deeebea14faca65663339271f1c2c547 (patch) | |
tree | d085f28f47c86d6dae2adff7786b159a87a75755 /.gitattributes | |
parent | 7ae530a1e013463cd24e13b2b3c5eb86528c7cb7 (diff) |
Fix segfaults when failing to fetch compressed repositories
The ComponentModel object was not always reset in case we already got
to the point of clearing the source data (deleted components owned by
PackageManagerCore from previous fetch) and failed after that, leaving
the model with dangling pointers to the deleted component objects.
If we were already on ComponentSelectionPage, this would cause
segmentation faults when the component tree view using the model would
be shown again after fetch.
Task-number: QTIFW-2441
Change-Id: Ie779de5ca0a3c4ae895ea507e6be4a2f7343501e
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions