mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Resolve qt warnings
CURA-10561
This commit is contained in:
parent
e7188c2f9f
commit
bdb7444afa
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue