summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbasecommons.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-02-28 11:33:47 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2011-03-03 14:46:58 +0100
commitde31ac1eb8ebcb41b86a31de95fbf319637680c2 (patch)
tree6c16972560be45509222bd6ab465af1bb5aa7a09 /installerbuilder/installerbase/installerbasecommons.cpp
parent1d719384f6a5392392a46d08e87de59856debf43 (diff)
There's really no need to have the intro page in the base installer gui.
We now provide a method to retrieve a QInstaller::Page by Id. If we need to have a intro page, the inherited class should create them.
Diffstat (limited to 'installerbuilder/installerbase/installerbasecommons.cpp')
-rw-r--r--installerbuilder/installerbase/installerbasecommons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/installerbase/installerbasecommons.cpp b/installerbuilder/installerbase/installerbasecommons.cpp
index 7fb6bf7cc..df02240d1 100644
--- a/installerbuilder/installerbase/installerbasecommons.cpp
+++ b/installerbuilder/installerbase/installerbasecommons.cpp
@@ -131,6 +131,7 @@ bool TargetDirectoryPageImpl::validatePage()
QtInstallerGui::QtInstallerGui(Installer *installer)
: Gui(installer, 0)
{
+ setPage(Installer::Introduction, new IntroductionPage(installer));
setPage(Installer::TargetDirectory, new TargetDirectoryPageImpl(installer));
setPage(Installer::ComponentSelection, new ComponentSelectionPage(m_installer));
setPage(Installer::LicenseCheck, new LicenseAgreementPage(installer));
@@ -163,7 +164,6 @@ void QtInstallerGui::init()
QtUninstallerGui::QtUninstallerGui(Installer *installer)
: Gui(installer, 0)
{
- using namespace QInstaller;
setPage(Installer::ComponentSelection, new ComponentSelectionPage(m_installer));
setPage(Installer::LicenseCheck, new LicenseAgreementPage(installer));
setPage(Installer::ReadyForInstallation, new ReadyForInstallationPage(installer));