mirror of https://github.com/nextcloud/desktop
Move fp settings controller out of ui folder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
e9451e9281
commit
556bce2672
|
@ -302,8 +302,8 @@ IF( APPLE )
|
|||
macOS/fileproviderxpc_mac.mm
|
||||
macOS/fileproviderxpc_mac_utils.h
|
||||
macOS/fileproviderxpc_mac_utils.mm
|
||||
macOS/ui/fileprovidersettingscontroller.h
|
||||
macOS/ui/fileprovidersettingscontroller_mac.mm)
|
||||
macOS/fileprovidersettingscontroller.h
|
||||
macOS/fileprovidersettingscontroller_mac.mm)
|
||||
endif()
|
||||
|
||||
if(SPARKLE_FOUND AND BUILD_UPDATER)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "folderstatusmodel.h"
|
||||
|
||||
#ifdef BUILD_FILE_PROVIDER_MODULE
|
||||
#include "macOS/ui/fileprovidersettingscontroller.h"
|
||||
#include "macOS/fileprovidersettingscontroller.h"
|
||||
#endif
|
||||
|
||||
class QModelIndex;
|
||||
|
|
|
@ -68,6 +68,8 @@ Page {
|
|||
|
||||
CheckBox {
|
||||
text: qsTr("Enable virtual files")
|
||||
checked: root.controller.vfsEnabledForAccount(root.accountUserIdAtHost)
|
||||
onClicked: root.controller.setVfsEnabledForAccount(root.accountUserIdAtHost, checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue