Wizard: Never attempt to hide server page

The wizard code used to call hide() on hardcoded wizards.
This means that for a brief moment, the first page with the URL
(disabled line edit) may be seen. I think that's completely
legitimate from a feedback perspective. The alternative would
be to unhide on error, but this is rather unelegant...
This commit is contained in:
Daniel Molkentin 2015-01-11 07:36:32 +01:00
parent f9b98d6d1d
commit 6034bd0946

View file

@ -154,9 +154,6 @@ void OwncloudSetupPage::initializePage()
setButtonText(QWizard::CommitButton, tr("&Next >"));
validatePage();
setVisible(false);
// because the wizard will call show on us right after this call, we need to hide in the
// next event loop iteration.
QTimer::singleShot(0, this, SLOT(hide()));
}
}