forked from qt-creator/qt-creator
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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user