Also prevent warning spam if icon isn't set

This commit is contained in:
Jaime van Kessel 2023-06-12 15:33:08 +02:00
parent 7103b9b333
commit 1c0be9c5ed
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -31,7 +31,7 @@ Item
RecommendedQualityProfileSelectorButton
{
profileName: model.name
icon: model.icon
icon: model.icon ? model.icon : ""
custom_icon: model.custom_icon ? model.custom_icon : ""
tooltipText: model.description ? model.description : ""