summary refs log tree commit diff
path: root/src/dialogs/ReCaptcha.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-28 20:09:08 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-28 20:09:08 +0100
commit5ca98829f7c5bf504e78bd51e6ceb534c023ae05 (patch)
tree2e624400f17b2b8220431a500e4ffc9f3671e4a7 /src/dialogs/ReCaptcha.cpp
parentMisc clang-tidy fixes (diff)
downloadnheko-5ca98829f7c5bf504e78bd51e6ceb534c023ae05.tar.xz
Some qt6 prep
Diffstat (limited to 'src/dialogs/ReCaptcha.cpp')
-rw-r--r--src/dialogs/ReCaptcha.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dialogs/ReCaptcha.cpp b/src/dialogs/ReCaptcha.cpp

index 0ae46bba..982c17b6 100644 --- a/src/dialogs/ReCaptcha.cpp +++ b/src/dialogs/ReCaptcha.cpp
@@ -25,11 +25,13 @@ ReCaptcha::ReCaptcha(const QString &session, QWidget *parent) auto layout = new QVBoxLayout(this); layout->setSpacing(conf::modals::WIDGET_SPACING); - layout->setMargin(conf::modals::WIDGET_MARGIN); + layout->setContentsMargins(conf::modals::WIDGET_MARGIN, + conf::modals::WIDGET_MARGIN, + conf::modals::WIDGET_MARGIN, + conf::modals::WIDGET_MARGIN); auto buttonLayout = new QHBoxLayout(); buttonLayout->setSpacing(8); - buttonLayout->setMargin(0); openCaptchaBtn_ = new QPushButton("Open reCAPTCHA", this); cancelBtn_ = new QPushButton(tr("Cancel"), this);