From 6c0845e89afdb8fccbd99e16fb26e12a70097357 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 18:58:16 +0800 Subject: Rename duplicate IDs --- Header.ui.qml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Header.ui.qml b/Header.ui.qml index a4e6e49..f2c61eb 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -134,7 +134,7 @@ ToolBar { sourceComponent: background } delegate: MenuItem { - id: menuItem + id: cartMenuItem contentItem: ColumnLayout { Loader { @@ -151,7 +151,7 @@ ToolBar { Loader { property string imageSource: - menuItem + cartMenuItem .icon.source property int imageWidth: 50 @@ -170,7 +170,7 @@ ToolBar { Lbl.H6 { text: - menuItem + cartMenuItem .text Layout .fillWidth: @@ -306,7 +306,7 @@ ToolBar { sourceComponent: background } delegate: MenuItem { - id: menuItem + id: profileMenuItem font: Eduport.bsBtnFont horizontalPadding: 16 verticalPadding: 6.4 @@ -314,11 +314,12 @@ ToolBar { contentItem: RowLayout { Image { - source: menuItem.icon.source + source: profileMenuItem + .icon.source sourceSize { - width: menuItem + width: profileMenuItem .icon.width - height: menuItem + height: profileMenuItem .icon.height } @@ -332,8 +333,8 @@ ToolBar { } Text { - text: menuItem.text - font: menuItem.font + text: profileMenuItem.text + font: profileMenuItem.font color: highlighted ? Eduport.bsDropdownLinkHoverColor : Eduport.bsDropdownLinkColor -- cgit v1.2.3