mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 17:56:06 +08:00
Resolve qt warnings
CURA-10561
This commit is contained in:
parent
e7188c2f9f
commit
bdb7444afa
@ -68,7 +68,7 @@ UM.Dialog
|
||||
UM.Label
|
||||
{
|
||||
text: {
|
||||
if (typeof(url) !== "undefined" && url !== "") {
|
||||
if (url !== "") {
|
||||
return `<a href="${url}">${name}</a>`;
|
||||
} else {
|
||||
return name;
|
||||
@ -151,6 +151,7 @@ UM.Dialog
|
||||
property string description: model.description
|
||||
property string license: model.license
|
||||
property string url: model.url
|
||||
property string version: ""
|
||||
}
|
||||
|
||||
model: ListModel
|
||||
@ -232,6 +233,9 @@ UM.Dialog
|
||||
width: parent.width
|
||||
property string name: modelData.name
|
||||
property string version: modelData.version
|
||||
property string license: ""
|
||||
property string url: ""
|
||||
property string description: ""
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -255,6 +259,9 @@ UM.Dialog
|
||||
width: parent.width
|
||||
property string name: modelData.name
|
||||
property string version: modelData.version
|
||||
property string license: ""
|
||||
property string url: ""
|
||||
property string description: ""
|
||||
}
|
||||
width: parent.width
|
||||
model: Object
|
||||
|
Loading…
x
Reference in New Issue
Block a user