mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 07:09:02 +08:00
Resolve urls through qml
CURA-9146
This commit is contained in:
parent
66fde9100c
commit
7a3af720a8
@ -67,7 +67,7 @@ UM.Dialog
|
||||
Image
|
||||
{
|
||||
id: packageIcon
|
||||
source: model.icon_url || "../../images/placeholder.svg"
|
||||
source: model.icon_url || Qt.resolvedUrl("../../images/placeholder.svg")
|
||||
height: lineHeight
|
||||
width: height
|
||||
sourceSize.height: height
|
||||
@ -109,7 +109,7 @@ UM.Dialog
|
||||
Image
|
||||
{
|
||||
id: packageIcon
|
||||
source: model.icon_url || "../../images/placeholder.svg"
|
||||
source: model.icon_url || Qt.resolvedUrl("../../images/placeholder.svg")
|
||||
height: lineHeight
|
||||
width: height
|
||||
sourceSize.height: height
|
||||
|
@ -51,7 +51,7 @@ UM.Dialog
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: licenseModel.iconUrl || "../../images/placeholder.svg"
|
||||
source: licenseModel.iconUrl || Qt.resolvedUrl("../../images/placeholder.svg")
|
||||
mipmap: true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user