diff --git a/src/gui/wizard/flow2authwidget.cpp b/src/gui/wizard/flow2authwidget.cpp
index 87f63d59197a8..89d1e3f61c50d 100644
--- a/src/gui/wizard/flow2authwidget.cpp
+++ b/src/gui/wizard/flow2authwidget.cpp
@@ -42,8 +42,8 @@ Flow2AuthWidget::Flow2AuthWidget(QWidget *parent)
WizardCommon::initErrorLabel(_ui.errorLabel);
_ui.errorLabel->setTextFormat(Qt::RichText);
- connect(_ui.openLinkLabel, &LinkLabel::clicked, this, &Flow2AuthWidget::slotOpenBrowser);
- connect(_ui.copyLinkLabel, &LinkLabel::clicked, this, &Flow2AuthWidget::slotCopyLinkToClipboard);
+ connect(_ui.openLinkLabel, &QPushButton::clicked, this, &Flow2AuthWidget::slotOpenBrowser);
+ connect(_ui.copyLinkLabel, &QPushButton::clicked, this, &Flow2AuthWidget::slotCopyLinkToClipboard);
auto sizePolicy = _progressIndi->sizePolicy();
sizePolicy.setRetainSizeWhenHidden(true);
@@ -218,11 +218,9 @@ void Flow2AuthWidget::customizeStyle()
}
}
- _ui.openLinkLabel->setText(tr("Reopen Browser"));
- _ui.openLinkLabel->setAlignment(Qt::AlignCenter);
+ _ui.openLinkLabel->setText(tr("Open Browser"));
_ui.copyLinkLabel->setText(tr("Copy Link"));
- _ui.copyLinkLabel->setAlignment(Qt::AlignCenter);
WizardCommon::customizeHintLabel(_ui.statusLabel);
}
diff --git a/src/gui/wizard/flow2authwidget.ui b/src/gui/wizard/flow2authwidget.ui
index 44961ddae1a2a..4a9855878744a 100644
--- a/src/gui/wizard/flow2authwidget.ui
+++ b/src/gui/wizard/flow2authwidget.ui
@@ -6,8 +6,8 @@
0
0
- 580
- 330
+ 597
+ 387
@@ -25,31 +25,22 @@
Browser Authentication
-
+
-
-
+
Qt::Vertical
-
- QSizePolicy::Expanding
-
20
- 80
+ 40
-
-
-
- 0
-
-
- 0
-
+
-
@@ -60,15 +51,31 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 32
+
+
+
+
-
+ Segoe UI
12
- 75
true
+
+ color:"#191919"
+
Switch to your browser to connect your account
@@ -80,6 +87,22 @@
+ -
+
+
+ Qt::Vertical
+
+
+ QSizePolicy::Expanding
+
+
+
+ 20
+ 8
+
+
+
+
-
@@ -94,13 +117,36 @@
-
-
-
- 0
+
+
+ Qt::Vertical
-
- 0
+
+
+ 20
+ 32
+
+
+
+
+ -
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 64
+
+
+
+ -
+
-
@@ -115,15 +161,56 @@
-
-
-
- 0
-
+
-
-
+
+
+
+ 0
+ 0
+
+
+
+
+ Segoe UI
+ 9
+
+
+
+ pbSelectLocalFolder
+
+
+ true
+
+
+ false
+
+
-
-
+
+
+
+ 0
+ 0
+
+
+
+
+ Segoe UI
+ 9
+
+
+
+ pbSelectLocalFolder
+
+
+ true
+
+
+ false
+
+
@@ -155,47 +242,26 @@
- -
-
-
-
-
+
Qt::Vertical
-
-
- 20
- 20
-
-
-
-
- -
-
-
- Qt::Vertical
+
+ QSizePolicy::Expanding
20
- 80
+ 60
-
-
- OCC::LinkLabel
- QWidget
-
- 1
-
-