summaryrefslogtreecommitdiffstats
path: root/src/sdk/updatechecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk/updatechecker.cpp')
-rw-r--r--src/sdk/updatechecker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sdk/updatechecker.cpp b/src/sdk/updatechecker.cpp
index 2ebe39b92..115db45ea 100644
--- a/src/sdk/updatechecker.cpp
+++ b/src/sdk/updatechecker.cpp
@@ -96,7 +96,8 @@ int UpdateChecker::check()
if (!core.fetchRemotePackagesTree())
throw QInstaller::Error(core.error());
- const QList<QInstaller::Component *> components = core.updaterComponents();
+ const QList<QInstaller::Component *> components =
+ core.components(QInstaller::PackageManagerCore::ComponentType::Root);
if (components.isEmpty())
throw QInstaller::Error(QLatin1String("There are currently no updates available."));