diff options
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) |