From 6034bd09469ea2ced5be777b98dc56203e3c0a84 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sun, 11 Jan 2015 07:36:32 +0100 Subject: [PATCH] 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... --- src/gui/wizard/owncloudsetuppage.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/wizard/owncloudsetuppage.cpp b/src/gui/wizard/owncloudsetuppage.cpp index cea95dcfd..f7733cb2a 100644 --- a/src/gui/wizard/owncloudsetuppage.cpp +++ b/src/gui/wizard/owncloudsetuppage.cpp @@ -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())); } }