summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2021-03-22 07:49:31 +0000
committerKatja Marttila <katja.marttila@qt.io>2021-03-22 07:49:31 +0000
commit0ec58b6586f688c7d46c707c3eedfcc807387c3f (patch)
treebd0be8ee66a9d8b55c8282ac2c18a3b636f5fec6 /src/libs/installer/packagemanagercore.cpp
parenta9f02505f780e84c0c99770682c5e3db94c3a0a1 (diff)
parent29ed7cb3ca2e1caeb56eabba327442ce0ccadbf6 (diff)
Merge "commit 29ed7cb3ca2e1caeb56eabba327442ce0ccadbf6 1616145450 -t--sp"
Diffstat (limited to 'src/libs/installer/packagemanagercore.cpp')
-rw-r--r--src/libs/installer/packagemanagercore.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index e03179ebb..c512c23b5 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -428,6 +428,13 @@ using namespace QInstaller;
Emitted when installer binary marker \a magicMarker has changed.
*/
+/*!
+ \fn QInstaller::PackageManagerCore::componentsRecalculated()
+
+ Emitted when the component tree is recalculated. In a graphical interface,
+ this signal is emitted also after the categories are fetched.
+*/
+
Q_GLOBAL_STATIC(QMutex, globalModelMutex);
static QFont *sVirtualComponentsFont = nullptr;
Q_GLOBAL_STATIC(QMutex, globalVirtualComponentsFontMutex);
@@ -1576,6 +1583,7 @@ bool PackageManagerCore::fetchPackagesTree(const PackagesList &packages, const L
if (success && !d->statusCanceledOrFailed())
d->setStatus(Success);
+ emit componentsRecalculated();
return success;
}