diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:05:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-09 18:35:22 +1000 |
| commit | 717855c62963fcad2f511e180d82add98f4f73e3 (patch) | |
| tree | 598113a9f7003ff5a0bf78854059f1a31d8feb75 /modules/bar/components/TrayItem.qml | |
| parent | launcher: allow configuring actions (#558) (diff) | |
| download | caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.gz caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.bz2 caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.zip | |
internal: use Qt.resolvedUrl
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; } |