From 4bd09746966eafaf708d3385b7c656c112f6ce6a Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 9 May 2024 23:25:50 +0800 Subject: [PATCH] Remove use of setMargin on QVBoxLayout, not present in Qt6 Signed-off-by: Claudio Cambra --- src/gui/accountsettings.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 1517986e3..2b581e360 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -204,7 +204,6 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) const auto fpAccountUserIdAtHost = _accountState->account()->userIdAtHostWithPort(); const auto fpSettingsController = Mac::FileProviderSettingsController::instance(); const auto fpSettingsWidget = fpSettingsController->settingsViewWidget(fpAccountUserIdAtHost, fileProviderTab); - fpSettingsLayout->setMargin(0); fpSettingsLayout->addWidget(fpSettingsWidget); fileProviderTab->setLayout(fpSettingsLayout); } else {