diff options
| author | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-06 17:14:14 +0800 |
|---|---|---|
| committer | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-06 17:14:14 +0800 |
| commit | 9d8b7ae74ba84ac6f92364a6b8196374819f7dfe (patch) | |
| tree | 2d134a95c8d93ed06e11fc3689271447cc222b14 | |
| parent | 155c4d00ababfeeb8574e2b6d51e59ac9216fcab (diff) | |
Not set FontLoader name
to make it Qt6 compatible
https://doc.qt.io/qt-6/quick-changes-qt6.html#fontloader-name-is-now-a-read-only-property
| -rw-r--r-- | OrderCompleted.ui.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OrderCompleted.ui.qml b/OrderCompleted.ui.qml index ebf6bc2..f7d1cfc 100644 --- a/OrderCompleted.ui.qml +++ b/OrderCompleted.ui.qml @@ -9,7 +9,6 @@ Flickable { FontLoader { id: jost - name: "Jost" source: "Jost/Jost-Regular.ttf" } @@ -30,7 +29,7 @@ Flickable { Label { text: qsTr("Your Order is Completed!") font.pixelSize: 30 - font.family: jost.name + font.family: jost.font.family wrapMode: Text.Wrap horizontalAlignment: Text.AlignHCenter Layout.fillWidth: true @@ -43,7 +42,7 @@ Flickable { + "completed. Your order details are " + "shown for your personal account.") font.pixelSize: 16 - font.family: jost.name + font.family: jost.font.family wrapMode: Text.Wrap horizontalAlignment: Text.AlignHCenter Layout.fillWidth: true @@ -54,7 +53,7 @@ Flickable { id: button text: qsTr("View My Orders") font.pixelSize: 16 - font.family: jost.name + font.family: jost.font.family Layout.alignment: Qt.AlignHCenter } } |