Launcher: fix warning about Qurl / undefined
This commit is contained in:
parent
607cef530a
commit
b6f7f17c5c
1 changed files with 7 additions and 1 deletions
|
@ -46,8 +46,14 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function currentPreviewUrl()
|
||||
{
|
||||
if (__currentUrl >= urlsList.length) return "";
|
||||
return urlsList[__currentUrl];
|
||||
}
|
||||
|
||||
visible: imageUrl != ""
|
||||
imageUrl: urlsList[__currentUrl]
|
||||
imageUrl: currentPreviewUrl()
|
||||
|
||||
// conditional binding when we have valid previews
|
||||
Binding {
|
||||
|
|
Loading…
Add table
Reference in a new issue