summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-03-22 18:00:55 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2022-03-22 17:03:54 +0000
commite33150d7b23c10b8c26c6e3d24ca7957ae4a5522 (patch)
tree60cce412680c4c8e8c4c1bbfb80d7074a7fe0cdf
parentf14c9d88e13b921e184243f23ae426dc5dc87c37 (diff)
downloadqt-creator-e33150d7b23c10b8c26c6e3d24ca7957ae4a5522.tar.gz
QmlDesigner: Fix DirectoryFontLoader
It was not using the new folder structure. Change-Id: I9ab87ac32dfce203defe7c914f3091121bb6f549 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/studio_templates/projects/shared-plugin/name/DirectoryFontLoader.qml.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/studio_templates/projects/shared-plugin/name/DirectoryFontLoader.qml.tpl b/share/qtcreator/qmldesigner/studio_templates/projects/shared-plugin/name/DirectoryFontLoader.qml.tpl
index cf580f1b79..600d74fecc 100644
--- a/share/qtcreator/qmldesigner/studio_templates/projects/shared-plugin/name/DirectoryFontLoader.qml.tpl
+++ b/share/qtcreator/qmldesigner/studio_templates/projects/shared-plugin/name/DirectoryFontLoader.qml.tpl
@@ -33,7 +33,7 @@ import Qt.labs.folderlistmodel %{QtQuickVersion}
QtObject {
id: loader
- property url fontDirectory: Qt.resolvedUrl("../../" + relativeFontDirectory)
+ property url fontDirectory: Qt.resolvedUrl("../../content/" + relativeFontDirectory)
property string relativeFontDirectory: "fonts"
function loadFont(url) {