diff options
Diffstat (limited to 'modules/bar/components/TrayItem.qml')
| -rw-r--r-- | modules/bar/components/TrayItem.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml index 1f0a21c..6e7c2c5 100644 --- a/modules/bar/components/TrayItem.qml +++ b/modules/bar/components/TrayItem.qml @@ -30,7 +30,7 @@ MouseArea { let icon = root.modelData.icon; if (icon.includes("?path=")) { const [name, path] = icon.split("?path="); - icon = `file://${path}/${name.slice(name.lastIndexOf("/") + 1)}`; + icon = Qt.resolvedUrl(`${path}/${name.slice(name.lastIndexOf("/") + 1)}`); } return icon; } |