Resize settings object to root view

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-06-01 02:18:39 +08:00
parent 58e6385093
commit f158e275fc
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -34,8 +34,8 @@ FileProviderSettingsController::FileProviderSettingsController(QObject *parent)
: QObject{parent}
{
_settingsViewWidget = std::make_unique<QQuickWidget>(Systray::instance()->trayEngine(), nullptr);
_settingsViewWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
_settingsViewWidget->setSource(QUrl(fpSettingsQmlPath));
}
QQuickWidget *FileProviderSettingsController::settingsViewWidget()