diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/testapp/mainwindow.cpp | 2 | ||||
-rw-r--r-- | examples/testapp/updateagent.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp index 9a8f7e96e..91a13780a 100644 --- a/examples/testapp/mainwindow.cpp +++ b/examples/testapp/mainwindow.cpp @@ -92,7 +92,7 @@ void MainWindow::checkForUpdates() m_core.setTemporaryRepositories(settings.repositories()); settings.setLastCheck(QDateTime::currentDateTime()); - if (!m_core.fetchUpdaterPackages()) { + if (!m_core.fetchRemotePackagesTree()) { settings.setLastResult(tr("Software Update failed.")); QMessageBox::information(this, tr("Check for Updates"), tr("Failed to retrieve updates!")); return; diff --git a/examples/testapp/updateagent.cpp b/examples/testapp/updateagent.cpp index 73db16e98..994440a48 100644 --- a/examples/testapp/updateagent.cpp +++ b/examples/testapp/updateagent.cpp @@ -78,7 +78,7 @@ public: PackageManagerCore core(QInstaller::MagicUpdaterMarker); core.setTemporaryRepositories(settings.repositories()); - if (!core.fetchUpdaterPackages()) + if (!core.fetchRemotePackagesTree()) throw Error(tr("Software Update failed.")); settings.setLastResult(tr("Software Update run successfully.")); |