summary refs log tree commit diff
path: root/src/dialogs/FallbackAuth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/FallbackAuth.cpp')
-rw-r--r--src/dialogs/FallbackAuth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/FallbackAuth.cpp b/src/dialogs/FallbackAuth.cpp

index 0d8be237..ac3b7c26 100644 --- a/src/dialogs/FallbackAuth.cpp +++ b/src/dialogs/FallbackAuth.cpp
@@ -32,6 +32,7 @@ FallbackAuth::FallbackAuth(const QString &authType, const QString &session, QWid auto buttonLayout = new QHBoxLayout(); buttonLayout->setSpacing(8); + buttonLayout->setContentsMargins(0, 0, 0, 0); openBtn_ = new QPushButton(tr("Open Fallback in Browser"), this); cancelBtn_ = new QPushButton(tr("Cancel"), this); @@ -58,8 +59,7 @@ FallbackAuth::FallbackAuth(const QString &authType, const QString &session, QWid "fallback/web?session=%3") .arg(QString::fromStdString(http::client()->server())) .arg(http::client()->port()) - .arg(session) - .arg(authType); + .arg(session, authType); QDesktopServices::openUrl(url); });