Added avatar placeholder
icon-m-profile.svg being used if no avatar image can be loaded
This commit is contained in:
parent
314b335ef0
commit
9d1846ec19
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ BackgroundItem {
|
|||
visible: true
|
||||
onStatusChanged: {
|
||||
if (avatar.status === Image.Error)
|
||||
source = "image://theme/icon-m-person?" + (pressed
|
||||
source = "../../images/icon-m-profile.svg?" + (pressed
|
||||
? Theme.highlightColor
|
||||
: Theme.primaryColor)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue