diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-03-19 15:12:20 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-03-19 15:27:07 +0100 |
commit | 9fd62353cf7f973d78cd2093328ac15b5c4980b6 (patch) | |
tree | 5f49cac54ff245b08e9c216244596116eba1f93c /installerbuilder/installerbase/installerbasecommons.cpp | |
parent | 3bfccb51aa49cde261965867e7b4ba285208fab9 (diff) |
Make it simpler to quit the tool.
Task-number: QTIFW-61
Do not nag on the first page with message, simply quit. Also
make the message less "harsh" when quit/ cancel has been pressed.
Change-Id: I5caa39034ab159da256ebd605fb86aa47a9ac9fe
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Diffstat (limited to 'installerbuilder/installerbase/installerbasecommons.cpp')
-rw-r--r-- | installerbuilder/installerbase/installerbasecommons.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/installerbuilder/installerbase/installerbasecommons.cpp b/installerbuilder/installerbase/installerbasecommons.cpp index 76a27cb90..5c22d9926 100644 --- a/installerbuilder/installerbase/installerbasecommons.cpp +++ b/installerbuilder/installerbase/installerbasecommons.cpp @@ -295,6 +295,7 @@ void IntroductionPageImpl::entering() showWidgets(false); setMessage(QString()); setErrorMessage(QString()); + setButtonText(QWizard::CancelButton, tr("Quit")); PackageManagerCore *core = packageManagerCore(); if (core->isUninstaller() ||core->isUpdater() || core->isPackageManager()) { @@ -307,6 +308,7 @@ void IntroductionPageImpl::leaving() { // TODO: force repaint on next page, keeps unpainted after fetch QTimer::singleShot(100, gui()->page(nextId()), SLOT(repaint())); + setButtonText(QWizard::CancelButton, gui()->defaultButtonText(QWizard::CancelButton)); } void IntroductionPageImpl::showWidgets(bool show) |