diff --git a/Commons/Icons.qml b/Commons/Icons.qml index a870853..eca5ecc 100644 --- a/Commons/Icons.qml +++ b/Commons/Icons.qml @@ -33,8 +33,7 @@ Singleton { try { if (typeof DesktopEntries === 'undefined' || !DesktopEntries.byId) return iconFromName(fallback, fallback) - - const entry = (DesktopEntries.byId) ? + const entry = (DesktopEntries.heuristicLookup) ? DesktopEntries.heuristicLookup(appId) : DesktopEntries.byId(appId) const name = entry && entry.icon ? entry.icon : ""