From 8e61ac3e092707eb7b6e798a5bbaa95d9903edc3 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 6 Jun 2023 22:01:35 +0800 Subject: [PATCH] Revert "Merge pull request #5742 from nextcloud/backport/5707/stable-3.9" This reverts commit 5118bcfaba1595e52a1eabd30b4012b875bc1fde, reversing changes made to d9603fc84cd81b44da085bd824321167c935125b. Signed-off-by: Claudio Cambra --- config.h.in | 1 - src/gui/application.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index 8a9e0e3c5de94..5b91a83386476 100644 --- a/config.h.in +++ b/config.h.in @@ -4,7 +4,6 @@ #cmakedefine USE_INOTIFY 1 #cmakedefine WITH_QTKEYCHAIN 1 #cmakedefine WITH_CRASHREPORTER -#cmakedefine BUILD_FILE_PROVIDER_MODULE 1 #cmakedefine WITH_PROVIDERS "@WITH_PROVIDERS@" #cmakedefine CRASHREPORTER_EXECUTABLE "@CRASHREPORTER_EXECUTABLE@" #define SOCKETAPI_TEAM_IDENTIFIER_PREFIX "@SOCKETAPI_TEAM_IDENTIFIER_PREFIX@" diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 3c112b90c72bb..0db5f96d16d3b 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -403,7 +403,7 @@ Application::Application(int &argc, char **argv) } } -#if defined(BUILD_FILE_PROVIDER_MODULE) +#if defined(Q_OS_MACOS) _fileProvider.reset(new Mac::FileProvider); #endif