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