diff options
author | kh1 <qt-info@nokia.com> | 2011-04-18 12:18:04 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-04-18 12:18:04 +0200 |
commit | b58b03967fa48b61ab5dda5cbfb09c5b998614b9 (patch) | |
tree | 73449b1de559d78b74594893e40699b32e86371d /installerbuilder/installerbase/tabcontroller.cpp | |
parent | c604b31a401d1bf7239f649cc2e64f09f2e29c25 (diff) |
Have a about to shutdown signal.
To not longer reley on the gui part for writing
out the uninstaller.
Diffstat (limited to 'installerbuilder/installerbase/tabcontroller.cpp')
-rw-r--r-- | installerbuilder/installerbase/tabcontroller.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installerbuilder/installerbase/tabcontroller.cpp b/installerbuilder/installerbase/tabcontroller.cpp index fc1f265aa..470ead036 100644 --- a/installerbuilder/installerbase/tabcontroller.cpp +++ b/installerbuilder/installerbase/tabcontroller.cpp @@ -139,8 +139,7 @@ int TabController::init() } if (!d->m_installer->isInstaller()) { - connect(d->m_gui, SIGNAL(accepted()), this, SLOT(finished()), Qt::QueuedConnection); - connect(d->m_gui, SIGNAL(rejected()), this, SLOT(finished()), Qt::QueuedConnection); + connect(d->m_installer, SIGNAL(aboutToShutdown()), this, SLOT(finished())); d->m_gui->setWindowTitle(d->m_installer->value(QLatin1String("MaintenanceTitle"))); } |