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:
LemmyCook 2025-09-15 21:07:42 -04:00
parent 2a62a13b16
commit 33a75d042d
2 changed files with 2 additions and 0 deletions

View file

@ -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
} }
} }

View file

@ -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
} }
} }