diff options
author | Katja Marttila <katja.marttila@qt.io> | 2022-05-03 11:59:21 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2022-05-16 10:05:20 +0300 |
commit | 21de5f081ab3b18625febcd8ac181f6a122c4c7f (patch) | |
tree | aafc927b1d4f379836aa2c7a386cfc04ca9b87b3 /src/libs/installer/qinstallerglobal.h | |
parent | 82c175d76f1c40868b47f18d95376dce34e0416e (diff) |
Do not install new dependencies for installed components
If component is updated to repository, and new dependencies are added,
the dependencies should be installed only when fresh install to
component is made or the component is updated.
This change adds a new LocalDependencies value to component. It keeps
track of the dependencies the local installed packages has.
Fixes also a bug in uninstallecalculator, where we should also read the
dependencies from local installed packages instead of newly introduced
repositories.
Task-number: QTIFW-2624
Change-Id: I0557e5adf1e87c0a1238cc455cfb2c90f6b05c87
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/qinstallerglobal.h')
-rw-r--r-- | src/libs/installer/qinstallerglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/qinstallerglobal.h b/src/libs/installer/qinstallerglobal.h index 5bc87e21d..88f255af6 100644 --- a/src/libs/installer/qinstallerglobal.h +++ b/src/libs/installer/qinstallerglobal.h @@ -58,7 +58,7 @@ typedef QList<QInstaller::Package*> PackagesList; typedef QMap<QString, KDUpdater::LocalPackage> LocalPackagesMap; typedef QHash<QString, QStringList> AutoDependencyHash; -typedef QHash<QString, QStringList> DependencyHash; +typedef QHash<QString, QStringList> LocalDependencyHash; } // namespace QInstaller |