summaryrefslogtreecommitdiff
path: root/modules/bar/components/TrayItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/components/TrayItem.qml')
-rw-r--r--modules/bar/components/TrayItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml
index b050e5d..1d418dc 100644
--- a/modules/bar/components/TrayItem.qml
+++ b/modules/bar/components/TrayItem.qml
@@ -38,7 +38,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)}.png`;
+ icon = `file://${path}/${name.slice(name.lastIndexOf("/") + 1)}`;
}
return icon;
}