summaryrefslogtreecommitdiffstats
path: root/examples/testapp/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/testapp/mainwindow.cpp')
-rw-r--r--examples/testapp/mainwindow.cpp2
1 files changed, 1 insertions, 1 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;