mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 01:23:12 +08:00
Fix resolving of URL's
This commit is contained in:
parent
605280255f
commit
c88ed076a1
@ -59,11 +59,11 @@ Item
|
||||
switch (packageData.packageType)
|
||||
{
|
||||
case "plugin":
|
||||
return "../images/Plugin.svg";
|
||||
return Qt.resolvedUrl("../images/Plugin.svg");
|
||||
case "material":
|
||||
return "../images/Spool.svg";
|
||||
return Qt.resolvedUrl("../images/Spool.svg");
|
||||
default:
|
||||
return "../images/placeholder.svg";
|
||||
return Qt.resolvedUrl("../images/placeholder.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ Item
|
||||
UM.SimpleButton
|
||||
{
|
||||
id: playButton
|
||||
iconSource: !isSimulationPlaying ? "./resources/Play.svg": "./resources/Pause.svg"
|
||||
iconSource: Qt.resolvedUrl(!isSimulationPlaying ? "./resources/Play.svg": "./resources/Pause.svg")
|
||||
width: UM.Theme.getSize("small_button").width
|
||||
height: UM.Theme.getSize("small_button").height
|
||||
hoverColor: UM.Theme.getColor("slider_handle_active")
|
||||
|
Loading…
x
Reference in New Issue
Block a user