mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Use Theme.getIcon instead of Theme.icons
This is better for performance, according to the deprecation warning I got. Contributes to issue CURA-5876.
This commit is contained in:
parent
eb056ee17b
commit
a052b8ec69
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ Cura.ExpandableComponent
|
|||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
|
||||
iconSource: UM.Theme.icons.arrow_right
|
||||
iconSource: UM.Theme.getIcon("arrow_right")
|
||||
iconOnRightSide: true
|
||||
|
||||
onClicked: popupItem.configuration_method = "custom"
|
||||
|
@ -195,7 +195,7 @@ Cura.ExpandableComponent
|
|||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
|
||||
iconSource: UM.Theme.icons.arrow_left
|
||||
iconSource: UM.Theme.getIcon("arrow_left")
|
||||
|
||||
onClicked: popupItem.configuration_method = "auto"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue