Shaders: path from root for easier maintenance + cleanup fallback icons
This commit is contained in:
parent
16bd4b41dc
commit
76ef2469e8
6 changed files with 25 additions and 23 deletions
|
|
@ -205,14 +205,12 @@ Variants {
|
|||
Layout.fillWidth: true
|
||||
spacing: Style.marginM * scaling
|
||||
|
||||
// Avatar
|
||||
// Image
|
||||
NImageCircled {
|
||||
id: appAvatar
|
||||
Layout.preferredWidth: 40 * scaling
|
||||
Layout.preferredHeight: 40 * scaling
|
||||
Layout.alignment: Qt.AlignTop
|
||||
imagePath: model.image && model.image !== "" ? model.image : ""
|
||||
fallbackIcon: ""
|
||||
borderColor: Color.transparent
|
||||
borderWidth: 0
|
||||
visible: (model.image && model.image !== "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue