forked from qt-creator/qt-creator
StudioWelcome: Change default path to examples
As discussed we store examples in: QtDesignStudio/examples. We already habe an option and UI to change the folder. Change-Id: Ib8a313e94f6782ead75fcca958d7aa32a99bb8ea Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -620,7 +620,7 @@ Utils::FilePath StudioWelcomePlugin::defaultExamplesPath()
|
|||||||
: QStandardPaths::DocumentsLocation;
|
: QStandardPaths::DocumentsLocation;
|
||||||
|
|
||||||
return Utils::FilePath::fromString(QStandardPaths::writableLocation(location))
|
return Utils::FilePath::fromString(QStandardPaths::writableLocation(location))
|
||||||
.pathAppended("QtDesignStudio");
|
.pathAppended("QtDesignStudio/examples");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString StudioWelcomePlugin::examplesPathSetting()
|
QString StudioWelcomePlugin::examplesPathSetting()
|
||||||
|
Reference in New Issue
Block a user