mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Make file provider settings controller implementation an Objective-C++ file
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
8070dbd9f6
commit
f607bfaca1
@ -303,7 +303,7 @@ IF( APPLE )
|
||||
macOS/fileproviderxpc_mac_utils.h
|
||||
macOS/fileproviderxpc_mac_utils.mm
|
||||
macOS/ui/fileprovidersettingscontroller.h
|
||||
macOS/ui/fileprovidersettingscontroller.cpp)
|
||||
macOS/ui/fileprovidersettingscontroller_mac.mm)
|
||||
endif()
|
||||
|
||||
if(SPARKLE_FOUND AND BUILD_UPDATER)
|
||||
|
||||
@ -25,8 +25,6 @@ class FileProviderSettingsController : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
//Q_PROPERTY(QQuickWidget* settingsViewWidget READ settingsViewWidget CONSTANT)
|
||||
|
||||
public:
|
||||
explicit FileProviderSettingsController(QObject *parent = nullptr);
|
||||
|
||||
|
||||
@ -19,16 +19,15 @@
|
||||
#include "gui/systray.h"
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr auto fpSettingsQmlPath = "qrc:/qml/src/gui/macOS/ui/FileProviderSettings.qml";
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
namespace OCC {
|
||||
|
||||
namespace Mac {
|
||||
|
||||
Q_LOGGING_CATEGORY(lcFileProviderSettingsController, "nextcloud.gui.mac.fileprovider.settingscontroller")
|
||||
Q_LOGGING_CATEGORY(lcFileProviderSettingsController,
|
||||
"nextcloud.gui.mac.fileprovider.settingscontroller")
|
||||
|
||||
FileProviderSettingsController::FileProviderSettingsController(QObject *parent)
|
||||
: QObject{parent}
|
||||
@ -43,6 +42,6 @@ QQuickWidget *FileProviderSettingsController::settingsViewWidget()
|
||||
return _settingsViewWidget.get();
|
||||
}
|
||||
|
||||
} // Mac
|
||||
} // namespace Mac
|
||||
|
||||
} // OCC
|
||||
} // namespace OCC
|
||||
Loading…
Reference in New Issue
Block a user