summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/tabcontroller.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-03-03 17:06:32 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2011-03-03 17:46:25 +0100
commita1c16b32330ab8c8cbd86001a215d66f9024edf9 (patch)
treeb0c32c4af5d00971d443b21565af382650cca33b /installerbuilder/installerbase/tabcontroller.cpp
parent1bfafc0f2c8ed03b22a0a1b5441d7bd0baa3eb1a (diff)
Do not hide the maintainance widgets during meta info update.
This is only done if we are runing the updater or package manager. As of before, the widgets where hidden and shown again wich feels a bit strange as we never leave the page, but it seemed so.
Diffstat (limited to 'installerbuilder/installerbase/tabcontroller.cpp')
-rw-r--r--installerbuilder/installerbase/tabcontroller.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/installerbuilder/installerbase/tabcontroller.cpp b/installerbuilder/installerbase/tabcontroller.cpp
index d9680bda0..435d6c225 100644
--- a/installerbuilder/installerbase/tabcontroller.cpp
+++ b/installerbuilder/installerbase/tabcontroller.cpp
@@ -290,6 +290,9 @@ int TabController::checkRepositories()
qobject_cast<IntroductionPageImpl*>(d->m_gui->page(Installer::Introduction));
introPage->setComplete(false);
introPage->showMetaInfoUdate();
+ if (needsRepoCheck)
+ introPage->showAll();
+
metaInfoJob.connect(&metaInfoJob, SIGNAL(infoMessage(KDJob*, QString)), introPage,
SLOT(message(KDJob*, QString)));
@@ -397,7 +400,7 @@ int TabController::checkRepositories()
if (!d->m_installer->isInstaller())
introPage->showMaintenanceTools();
else
- introPage->clearPage();
+ introPage->hideAll();
return INST_SUCCESS;
}