diff options
author | Katja Marttila <katja.marttila@qt.io> | 2022-06-06 11:57:10 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2022-06-06 14:12:19 +0300 |
commit | 0a44357ba8c59339d4a12a2433c244b8db431904 (patch) | |
tree | 91d4e24a22c9c0940cce013021777bf2728c40bd /tests/auto/installer | |
parent | fdfd2e381bd16a99822ef8c9dfdffb75ab29d142 (diff) |
Fix installer crash if already installed virtual components are replaced
If installed component is replaced by another component, core
'categorizes' it under ComponentType::Replacement. By asking
PackageManagerCore::componentByName(QString &name) excludes the replaced
components. Fixed so that all 'categories' are used when searching the
component by its name.
Task-number: QTIFW-2672
Change-Id: I8b5528f7ddca777fe9b696c1d0151640730d1b9f
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'tests/auto/installer')
0 files changed, 0 insertions, 0 deletions