summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 18:58:16 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 18:58:16 +0800
commit6c0845e89afdb8fccbd99e16fb26e12a70097357 (patch)
treee16f0478e9fd929b5088ce642137600944160a73
parent3aa6c8259e4d0915b865cb66950750a1375f5fec (diff)
Rename duplicate IDs
-rw-r--r--Header.ui.qml19
1 files 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