From 71b1e881d8f697c6382ca1c589b00a0e5d29f15e Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sun, 18 Aug 2013 15:23:08 +0200 Subject: [PATCH] Setup Wizard: Only label button "Connect" where suitable --- src/wizard/owncloudadvancedsetuppage.cpp | 1 + src/wizard/owncloudwizard.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wizard/owncloudadvancedsetuppage.cpp b/src/wizard/owncloudadvancedsetuppage.cpp index 36c025cb6..e26df01ed 100644 --- a/src/wizard/owncloudadvancedsetuppage.cpp +++ b/src/wizard/owncloudadvancedsetuppage.cpp @@ -54,6 +54,7 @@ OwncloudAdvancedSetupPage::OwncloudAdvancedSetupPage() setupCustomization(); connect( _ui.pbSelectLocalFolder, SIGNAL(clicked()), SLOT(slotSelectFolder())); + setButtonText(QWizard::NextButton, tr("Connect...")); } void OwncloudAdvancedSetupPage::setupCustomization() diff --git a/src/wizard/owncloudwizard.cpp b/src/wizard/owncloudwizard.cpp index 5a72e3b06..9f5ada8c0 100644 --- a/src/wizard/owncloudwizard.cpp +++ b/src/wizard/owncloudwizard.cpp @@ -147,7 +147,6 @@ void OwncloudWizard::slotCurrentPageChanged( int id ) qDebug() << "Current Wizard page changed to " << id; if( id == WizardCommon::Page_ServerSetup ) { - setButtonText( QWizard::NextButton, tr("Connect...") ); emit clearPendingRequests(); _setupPage->initializePage(); }