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

@ -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
}