Hide the slideshow when going to the login page
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 8 Oct 2020 15:25:12 +0000 (17:25 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 13 Oct 2020 05:28:32 +0000 (07:28 +0200)
This is indeed very distracting otherwise.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/wizard/owncloudsetuppage.cpp

index 1bc76fdef311a6281bb0a9f65d5fed6a897ae15c..428f18a032002c6121a7c03082e7beba4be14784 100644 (file)
@@ -125,6 +125,10 @@ void OwncloudSetupPage::setupCustomization()
 #ifdef WITH_PROVIDERS
 void OwncloudSetupPage::slotLogin()
 {
+    _ui.slideShow->hide();
+    _ui.nextButton->hide();
+    _ui.prevButton->hide();
+
     _ocWizard->setRegistration(false);
     _ui.login->setMaximumHeight(0);
     auto *animation = new QPropertyAnimation(_ui.login, "maximumHeight");