From bb290f9fecc48d407c2bc75a64b0e8a94bc3aeba Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 28 Dec 2021 22:30:12 +0100 Subject: Fix more warnings and remove dead code --- src/dialogs/FallbackAuth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dialogs/FallbackAuth.cpp') 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); }); -- cgit 1.5.1