diff options
author | kh1 <qt-info@nokia.com> | 2011-05-03 16:12:37 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-05-03 16:12:37 +0200 |
commit | 460514cafb607b8af911b4252b4017f8202b511b (patch) | |
tree | 114d32a736b60623fc6048ff9211cff4e99f282b /installerbuilder/installerbase/tabcontroller.cpp | |
parent | 6d60c7d9ce352c0ca182002eab126d3c9bb18529 (diff) |
Always ask to close the app, except for the finish page.
Diffstat (limited to 'installerbuilder/installerbase/tabcontroller.cpp')
-rw-r--r-- | installerbuilder/installerbase/tabcontroller.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installerbuilder/installerbase/tabcontroller.cpp b/installerbuilder/installerbase/tabcontroller.cpp index 70a78ef51..861a9e9d5 100644 --- a/installerbuilder/installerbase/tabcontroller.cpp +++ b/installerbuilder/installerbase/tabcontroller.cpp @@ -184,6 +184,8 @@ int TabController::initUpdater() introPage->showMaintenanceTools(); introPage->setMaintenanceToolsEnabled(true); + if (d->m_installer->status() == Installer::Canceled) + return Installer::Canceled; return Installer::Success; } @@ -240,6 +242,8 @@ int TabController::initPackageManager() introPage->hideAll(); } + if (d->m_installer->status() == Installer::Canceled) + return Installer::Canceled; return Installer::Success; } |