Fix missing icons since move to PyQt6

This commit is contained in:
fieldOfView 2022-04-22 22:33:14 +02:00
parent 5d859ffacc
commit b622738ae3
9 changed files with 12 additions and 12 deletions

View file

@ -37,7 +37,7 @@ Cura.RoundedRectangle
width: UM.Theme.getSize("section").height
height: width
color: UM.Theme.getColor("text_link")
source: "../images/arrow_down.svg"
source: Qt.resolvedUrl("../images/arrow_down.svg")
}
Label
@ -65,7 +65,7 @@ Cura.RoundedRectangle
{
target: projectImage
color: UM.Theme.getColor("text_link")
source: "../images/arrow_down.svg"
source: Qt.resolvedUrl("../images/arrow_down.svg")
}
PropertyChanges
{
@ -88,7 +88,7 @@ Cura.RoundedRectangle
{
target: projectImage
color: UM.Theme.getColor("text_link")
source: "../images/arrow_down.svg"
source: Qt.resolvedUrl("../images/arrow_down.svg")
}
PropertyChanges
{
@ -111,7 +111,7 @@ Cura.RoundedRectangle
{
target: projectImage
color: UM.Theme.getColor("action_button_disabled_text")
source: "../images/update.svg"
source: Qt.resolvedUrl("../images/update.svg")
}
PropertyChanges
{

View file

@ -99,7 +99,7 @@ Item
{
id: digitalFactoryImage
anchors.horizontalCenter: parent.horizontalCenter
source: searchBar.text === "" ? "../images/digital_factory.svg" : "../images/projects_not_found.svg"
source: Qt.resolvedUrl(searchBar.text === "" ? "../images/digital_factory.svg" : "../images/projects_not_found.svg")
fillMode: Image.PreserveAspectFit
width: parent.width - 2 * UM.Theme.getSize("thick_margin").width
}