From 717855c62963fcad2f511e180d82add98f4f73e3 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 9 Sep 2025 18:05:23 +1000 Subject: internal: use Qt.resolvedUrl --- modules/bar/components/TrayItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/bar/components/TrayItem.qml') 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; } -- cgit v1.2.3-freya