From 1c564d10f479b16c626e993e485218647229b125 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 30 Jun 2023 21:50:36 +0800 Subject: [PATCH] Unrevert "Merge pull request #5742 from nextcloud/backport/5707/stable-3.9" This reverts commit 1929c488529eaf4c3d532c78eb3193f6f7baca93. --- config.h.in | 1 + src/gui/application.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.h.in b/config.h.in index 27b98cbd3b98..d3b84496ba84 100644 --- a/config.h.in +++ b/config.h.in @@ -4,6 +4,7 @@ #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 0db5f96d16d3..3c112b90c72b 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -403,7 +403,7 @@ Application::Application(int &argc, char **argv) } } -#if defined(Q_OS_MACOS) +#if defined(BUILD_FILE_PROVIDER_MODULE) _fileProvider.reset(new Mac::FileProvider); #endif