Setup Wizard: Only label button "Connect" where suitable

This commit is contained in:
Daniel Molkentin 2013-08-18 15:23:08 +02:00
parent 7ba47e9d44
commit 71b1e881d8
2 changed files with 1 additions and 1 deletions

View file

@ -54,6 +54,7 @@ OwncloudAdvancedSetupPage::OwncloudAdvancedSetupPage()
setupCustomization();
connect( _ui.pbSelectLocalFolder, SIGNAL(clicked()), SLOT(slotSelectFolder()));
setButtonText(QWizard::NextButton, tr("Connect..."));
}
void OwncloudAdvancedSetupPage::setupCustomization()

View file

@ -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();
}