diff --git a/src/common/utility_mac.mm b/src/common/utility_mac.mm index b7e74c7130522..da224d4a88383 100644 --- a/src/common/utility_mac.mm +++ b/src/common/utility_mac.mm @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index a10ccbe1c563d..290e16e9443d8 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -699,14 +699,10 @@ if( UNIX AND NOT APPLE ) endif() if (APPLE) - find_package(Qt${QT_MAJOR_VERSION} COMPONENTS MacExtras) - if (BUILD_FILE_PROVIDER_MODULE) - target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras "-framework UserNotifications -framework FileProvider") + target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications -framework FileProvider") elseif(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 10.14) - target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras "-framework UserNotifications") - else() - target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras) + target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications") endif() endif() diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 1517986e32d5b..2b581e3606cf5 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 {