diff options
author | kh1 <qt-info@nokia.com> | 2011-03-10 16:04:15 +0100 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-03-10 16:04:15 +0100 |
commit | df67616bf1a6ff240fe45634d6d9a64dc2181c97 (patch) | |
tree | 22c6ba804d66b3f2388745ec45aa229b9ed9bbe5 /installerbuilder/installerbase/tabcontroller.cpp | |
parent | 36ced7e11ad917164bc4daab83ace3e2b1b3da40 (diff) |
Add missing signals.
One to emit error message from meta info job and another
one to cancel the job from the ui.
Diffstat (limited to 'installerbuilder/installerbase/tabcontroller.cpp')
-rw-r--r-- | installerbuilder/installerbase/tabcontroller.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/installerbuilder/installerbase/tabcontroller.cpp b/installerbuilder/installerbase/tabcontroller.cpp index 7470a5543..7710b4c3a 100644 --- a/installerbuilder/installerbase/tabcontroller.cpp +++ b/installerbuilder/installerbase/tabcontroller.cpp @@ -444,10 +444,8 @@ int TabController::initUpdater() connect(d->m_installer, SIGNAL(updaterInfoMessage(KDJob*, QString)), introPage, SLOT(message(KDJob*, QString))); - - // TODO: find a way to be able to cancel the meta info job - //d->m_gui->connect(d->m_gui, SIGNAL(rejected()), &metaInfoJob, SLOT(doCancel()), - // Qt::QueuedConnection); + d->m_gui->connect(d->m_gui, SIGNAL(rejected()), d->m_installer, SIGNAL(cancelUpdaterInfoJob()), + Qt::QueuedConnection); d->m_gui->setWindowModality(Qt::WindowModal); d->m_gui->show(); |