Fix resolving of URL's

This commit is contained in:
Jaime van Kessel 2022-04-06 09:57:45 +02:00
parent 605280255f
commit c88ed076a1
2 changed files with 4 additions and 4 deletions

View file

@ -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")