diff options
author | kh1 <karsten.heimrich@nokia.com> | 2011-11-30 16:06:32 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-11-30 16:52:43 +0100 |
commit | f18a946482d89636044c40cf96e6601386175579 (patch) | |
tree | 65cfbe18e241397c5e6fe7885bbbba613ee60671 /installerbuilder | |
parent | e78f293268535c3c7a394f91569abcc6ef096f8a (diff) |
Make sure we reset the package fetch state.
Fixes the problem that after we've updated, installed components,
the ui would still show the old state and the "Next" button would
behave strange.
Change-Id: Iaeb480e69f52230a15233dfaf3ea3116e9728042
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r-- | installerbuilder/installerbase/installerbasecommons.h | 2 | ||||
-rw-r--r-- | installerbuilder/installerbase/tabcontroller.cpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/installerbuilder/installerbase/installerbasecommons.h b/installerbuilder/installerbase/installerbasecommons.h index b4945f5b8..073ff7802 100644 --- a/installerbuilder/installerbase/installerbasecommons.h +++ b/installerbuilder/installerbase/installerbasecommons.h @@ -60,6 +60,7 @@ public: void setMaintenanceToolsEnabled(bool enable); public Q_SLOTS: + void onCoreNetworkSettingsChanged(); void setMessage(const QString &msg); void setErrorMessage(const QString &error); @@ -70,7 +71,6 @@ private Q_SLOTS: void setUpdater(bool value); void setUninstaller(bool value); void setPackageManager(bool value); - void onCoreNetworkSettingsChanged(); private: void entering(); diff --git a/installerbuilder/installerbase/tabcontroller.cpp b/installerbuilder/installerbase/tabcontroller.cpp index 8a6a22401..a2d9dcd6b 100644 --- a/installerbuilder/installerbase/tabcontroller.cpp +++ b/installerbuilder/installerbase/tabcontroller.cpp @@ -132,6 +132,11 @@ int TabController::init() connect(d->m_gui, SIGNAL(settingsButtonClicked()), this, SLOT(onSettingsButtonClicked())); } + IntroductionPageImpl *page = + qobject_cast<IntroductionPageImpl*> (d->m_gui->page(PackageManagerCore::Introduction)); + if (page) + page->onCoreNetworkSettingsChanged(); + d->m_gui->setWindowModality(Qt::WindowModal); d->m_gui->show(); |