diff options
author | kh1 <qt-info@nokia.com> | 2011-03-16 17:05:03 +0100 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-03-16 17:05:03 +0100 |
commit | c642c138ce8c7b031d53f51c2a41cda25820dc9b (patch) | |
tree | 47b299ad9471701158ff8e6d141a8a1654aa5862 /examples/testapp | |
parent | 66e1b9d2259529a88055bcd890b359e6680ebb5b (diff) |
Always pass the mode so we get the right components.
Diffstat (limited to 'examples/testapp')
-rw-r--r-- | examples/testapp/mainwindow.cpp | 2 |
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; |