summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/mainwindow.cpp2
-rw-r--r--examples/testapp/testapp.pro2
2 files changed, 2 insertions, 2 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;
diff --git a/examples/testapp/testapp.pro b/examples/testapp/testapp.pro
index 372d85908..7c1bc85f9 100644
--- a/examples/testapp/testapp.pro
+++ b/examples/testapp/testapp.pro
@@ -16,4 +16,4 @@ SOURCES += main.cpp mainwindow.cpp
RESOURCES += testapp.qrc
macx:QMAKE_POST_LINK = ($$OUT_PWD/../../installerbuilder/bin/binarycreator -p packages -c config -t ../../installerbuilder/bin/installerbase TestAppInstaller.app com.nokia.testapp)
-win32:QMAKE_POST_LINK = ($$OUT_PWD/../../installerbuilder/bin/binarycreator.exe -p $$PWD/packages -c $$PWD/config -t $$OUT_PWD/../../installerbuilder/bin/installerbase.exe TestAppInstaller.exe com.nokia.testapp)
+win32:QMAKE_POST_LINK = ($$OUT_PWD\\..\\..\\installerbuilder\\bin\\binarycreator.exe -p $$PWD\\packages -c $$PWD\\config -t $$OUT_PWD\\..\\..\\installerbuilder\\bin\\installerbase.exe TestAppInstaller.exe com.nokia.testapp)