diff options
-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 91a13780a..f1a0c0e01 100644 --- a/examples/testapp/mainwindow.cpp +++ b/examples/testapp/mainwindow.cpp @@ -99,7 +99,7 @@ void MainWindow::checkForUpdates() } // no updates for us - if (m_core.components(false, UpdaterMode).isEmpty()) { + if (m_core.updaterComponents().isEmpty()) { QMessageBox::information(this, tr("Check for Updates"), tr("There are currently no updates " "available for you.")); return; diff --git a/examples/testapp/updateagent.cpp b/examples/testapp/updateagent.cpp index 994440a48..baefb1ddd 100644 --- a/examples/testapp/updateagent.cpp +++ b/examples/testapp/updateagent.cpp @@ -82,7 +82,7 @@ public: throw Error(tr("Software Update failed.")); settings.setLastResult(tr("Software Update run successfully.")); - QList<Component*> components = core.components(false, UpdaterMode); + QList<Component*> components = core.updaterComponents(); // no updates available if (components.isEmpty()) return; |