summaryrefslogtreecommitdiffstats
path: root/examples/testapp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-03-16 17:05:03 +0100
committerkh1 <qt-info@nokia.com>2011-03-16 17:05:03 +0100
commitc642c138ce8c7b031d53f51c2a41cda25820dc9b (patch)
tree47b299ad9471701158ff8e6d141a8a1654aa5862 /examples/testapp
parent66e1b9d2259529a88055bcd890b359e6680ebb5b (diff)
Always pass the mode so we get the right components.
Diffstat (limited to 'examples/testapp')
-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 4a6fd1618..25b64e90a 100644
--- a/examples/testapp/mainwindow.cpp
+++ b/examples/testapp/mainwindow.cpp
@@ -104,7 +104,7 @@ void MainWindow::checkForUpdates() {
settings.setLastCheck( QDateTime::currentDateTime() );
// no updates for us
- if( m_installer.components().isEmpty() )
+ if( m_installer.components(false, UpdaterMode).isEmpty() )
{
QMessageBox::information( this, tr( "Check for Updates" ), tr( "There are currently no updates available for you." ) );
return;