From 67f611b63cf80ebfb128bb3fb3d2bf17a90442de Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ 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.3