mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 08:29:03 +08: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
@ -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…
x
Reference in New Issue
Block a user