summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.org>2025-12-06 17:48:59 +0800
committerErik Prabowo Kamal <erik@darapsa.org>2025-12-06 17:48:59 +0800
commitf635fe320fe7e77cac49957aa447f116e19d30d5 (patch)
tree1be4446ff3a79f2bb16e2e66d6d4bb38eeb9a932
parent9d8b7ae74ba84ac6f92364a6b8196374819f7dfe (diff)
Rename the id to "label" cause "text" is ambiguous
according to Qt Design Studio that it wouldn't show the preview on its Form Editor. Change the orderCompletedText to orderCompletedLabel interface too to make it consistent (projects that use QShopper will have to update their references).
-rw-r--r--OrderCompleted.ui.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/OrderCompleted.ui.qml b/OrderCompleted.ui.qml
index f7d1cfc..471fe6f 100644
--- a/OrderCompleted.ui.qml
+++ b/OrderCompleted.ui.qml
@@ -3,7 +3,7 @@ import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
Flickable {
- property alias orderCompletedText: text
+ property alias orderCompletedLabel: label
property alias orderCompletedButton: button
contentHeight: body.height
@@ -37,7 +37,7 @@ Flickable {
}
Label {
- id: text
+ id: label
text: qsTr("Your order 673290789 has been "
+ "completed. Your order details are "
+ "shown for your personal account.")