summaryrefslogtreecommitdiffstats
path: root/examples/testapp/updateagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/testapp/updateagent.cpp')
-rw-r--r--examples/testapp/updateagent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/testapp/updateagent.cpp b/examples/testapp/updateagent.cpp
index 19422378f..0523f6da7 100644
--- a/examples/testapp/updateagent.cpp
+++ b/examples/testapp/updateagent.cpp
@@ -85,7 +85,8 @@ public:
handler->setComponentIndex(QInstallerCreator::ComponentIndex());
PackageManagerCore core(QInstaller::MagicUpdaterMarker);
- core.setTemporaryRepositories(settings.repositories());
+ // TODO: check what this should have done
+ //core.setTemporaryRepositories(settings.repositories());
if (!core.fetchRemotePackagesTree())
throw Error(tr("Software Update failed."));
settings.setLastResult(tr("Software Update run successfully."));