From 3c13cf9493c250876bf91bb8f45255b7ef929ec0 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 15 Apr 2024 11:58:58 +0200 Subject: [PATCH] QmlDesigner: Use the same location on macOS Task-number: QDS-9979 Change-Id: I6a706b5325fd74221523cab4f2be838bdd871592 Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Reviewed-by: Tim Jenssen --- src/plugins/qmldesignerbase/utils/designerpaths.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/qmldesignerbase/utils/designerpaths.cpp b/src/plugins/qmldesignerbase/utils/designerpaths.cpp index da4ce8ce082..f938c58e04c 100644 --- a/src/plugins/qmldesignerbase/utils/designerpaths.cpp +++ b/src/plugins/qmldesignerbase/utils/designerpaths.cpp @@ -20,9 +20,7 @@ Utils::FilePath defaultExamplesPath() Utils::FilePath defaultBundlesPath() { - QStandardPaths::StandardLocation location = Utils::HostOsInfo::isMacHost() - ? QStandardPaths::HomeLocation - : QStandardPaths::DocumentsLocation; + QStandardPaths::StandardLocation location = QStandardPaths::DocumentsLocation; return Utils::FilePath::fromString(QStandardPaths::writableLocation(location)) .pathAppended("QtDesignStudio/bundles");