QmlDesigner: Use the same location on macOS

Task-number: QDS-9979
Change-Id: I6a706b5325fd74221523cab4f2be838bdd871592
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2024-04-15 11:58:58 +02:00
parent 4b0f31e823
commit 3c13cf9493

View File

@@ -20,9 +20,7 @@ Utils::FilePath defaultExamplesPath()
Utils::FilePath defaultBundlesPath() Utils::FilePath defaultBundlesPath()
{ {
QStandardPaths::StandardLocation location = Utils::HostOsInfo::isMacHost() QStandardPaths::StandardLocation location = QStandardPaths::DocumentsLocation;
? QStandardPaths::HomeLocation
: QStandardPaths::DocumentsLocation;
return Utils::FilePath::fromString(QStandardPaths::writableLocation(location)) return Utils::FilePath::fromString(QStandardPaths::writableLocation(location))
.pathAppended("QtDesignStudio/bundles"); .pathAppended("QtDesignStudio/bundles");