From 67f611b63cf80ebfb128bb3fb3d2bf17a90442de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 30 Mar 2023 19:55:56 +0800 Subject: Shorten menu item ID --- Header/CartItem.ui.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Header') diff --git a/Header/CartItem.ui.qml b/Header/CartItem.ui.qml index 2fbf03b..4f97c29 100644 --- a/Header/CartItem.ui.qml +++ b/Header/CartItem.ui.qml @@ -6,7 +6,7 @@ import Eduport 1.4 import "../Label" as Lbl MenuItem { - id: cartMenuItem + id: menuItem contentItem: ColumnLayout { Loader { @@ -21,7 +21,7 @@ MenuItem { Layout.margins: 16 Loader { - property string imageSource: cartMenuItem + property string imageSource: menuItem .icon.source property int imageWidth: 50 property int imageHeight: 50 @@ -35,7 +35,7 @@ MenuItem { RowLayout { Lbl.H6 { - text: cartMenuItem.text + text: menuItem.text Layout.fillWidth: true } -- cgit v1.2.3