mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 03:33: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)
|
switch (packageData.packageType)
|
||||||
{
|
{
|
||||||
case "plugin":
|
case "plugin":
|
||||||
return "../images/Plugin.svg";
|
return Qt.resolvedUrl("../images/Plugin.svg");
|
||||||
case "material":
|
case "material":
|
||||||
return "../images/Spool.svg";
|
return Qt.resolvedUrl("../images/Spool.svg");
|
||||||
default:
|
default:
|
||||||
return "../images/placeholder.svg";
|
return Qt.resolvedUrl("../images/placeholder.svg");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ Item
|
|||||||
UM.SimpleButton
|
UM.SimpleButton
|
||||||
{
|
{
|
||||||
id: playButton
|
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
|
width: UM.Theme.getSize("small_button").width
|
||||||
height: UM.Theme.getSize("small_button").height
|
height: UM.Theme.getSize("small_button").height
|
||||||
hoverColor: UM.Theme.getColor("slider_handle_active")
|
hoverColor: UM.Theme.getColor("slider_handle_active")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user