mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Display the content of the login dialog correct
This adjustment is necessary because of the changes of the new account
wizard that were introduced with:
e0b7ef15b2
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
parent
6d6da18f9a
commit
ff7932bb54
3 changed files with 5 additions and 10 deletions
|
@ -156,8 +156,8 @@ void WebFlowCredentials::askFromUser() {
|
|||
_askDialog->setUrl(url);
|
||||
}
|
||||
|
||||
QString msg = tr("You have been logged out of %1 as user %2. Please login again")
|
||||
.arg(_account->displayName(), _user);
|
||||
QString msg = tr("You have been logged out of %1 as user %2. Please login again.")
|
||||
.arg(_account->displayName(), _user);
|
||||
_askDialog->setInfo(msg);
|
||||
|
||||
_askDialog->show();
|
||||
|
|
|
@ -27,19 +27,12 @@ WebFlowCredentialsDialog::WebFlowCredentialsDialog(Account *account, bool useFlo
|
|||
_layout->setSpacing(0);
|
||||
_layout->setMargin(0);
|
||||
|
||||
if(_useFlow2) {
|
||||
_headerBanner = new HeaderBanner(this);
|
||||
_layout->addWidget(_headerBanner);
|
||||
Theme *theme = Theme::instance();
|
||||
_headerBanner->setup(tr("Log in"), theme->wizardHeaderLogo(), theme->wizardHeaderBanner(),
|
||||
Qt::AutoText, QString::fromLatin1("color:#fff;"));
|
||||
}
|
||||
|
||||
_containerLayout = new QVBoxLayout(this);
|
||||
_containerLayout->setSpacing(spacing);
|
||||
_containerLayout->setMargin(margin);
|
||||
|
||||
_infoLabel = new QLabel();
|
||||
_infoLabel->setAlignment(Qt::AlignCenter);
|
||||
_containerLayout->addWidget(_infoLabel);
|
||||
|
||||
if (_useFlow2) {
|
||||
|
|
|
@ -45,6 +45,8 @@ Flow2AuthWidget::Flow2AuthWidget(QWidget *parent)
|
|||
|
||||
_ui.progressLayout->addWidget(_progressIndi);
|
||||
stopSpinner(false);
|
||||
|
||||
customizeStyle();
|
||||
}
|
||||
|
||||
void Flow2AuthWidget::setLogo()
|
||||
|
|
Loading…
Reference in a new issue