IconImage: They have to be asynchronous or the may crash QS on startup. TaskBar was crashing very often during development.
This commit is contained in:
parent
2a62a13b16
commit
33a75d042d
2 changed files with 2 additions and 0 deletions
|
|
@ -51,5 +51,6 @@ NIconButton {
|
||||||
source: useDistroLogo ? DistroLogoService.osLogo : ""
|
source: useDistroLogo ? DistroLogoService.osLogo : ""
|
||||||
visible: useDistroLogo && source !== ""
|
visible: useDistroLogo && source !== ""
|
||||||
smooth: true
|
smooth: true
|
||||||
|
asynchronous: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ Rectangle {
|
||||||
height: Style.marginL * root.scaling
|
height: Style.marginL * root.scaling
|
||||||
source: AppIcons.iconForAppId(taskbarItem.modelData.appId)
|
source: AppIcons.iconForAppId(taskbarItem.modelData.appId)
|
||||||
smooth: true
|
smooth: true
|
||||||
|
asynchronous: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue