From f635fe320fe7e77cac49957aa447f116e19d30d5 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sat, 6 Dec 2025 17:48:59 +0800 Subject: 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). --- OrderCompleted.ui.qml | 4 ++-- 1 file 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.") -- cgit v1.2.3