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