summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-09 18:05:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-09 18:35:22 +1000
commit717855c62963fcad2f511e180d82add98f4f73e3 (patch)
tree598113a9f7003ff5a0bf78854059f1a31d8feb75 /modules/bar
parentlauncher: allow configuring actions (#558) (diff)
downloadcaelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.gz
caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.tar.bz2
caelestia-shell-717855c62963fcad2f511e180d82add98f4f73e3.zip
internal: use Qt.resolvedUrl
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/components/TrayItem.qml2
-rw-r--r--modules/bar/components/workspaces/SpecialWorkspaces.qml2
2 files changed, 2 insertions, 2 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;
}
diff --git a/modules/bar/components/workspaces/SpecialWorkspaces.qml b/modules/bar/components/workspaces/SpecialWorkspaces.qml
index 7bebe41..61ec723 100644
--- a/modules/bar/components/workspaces/SpecialWorkspaces.qml
+++ b/modules/bar/components/workspaces/SpecialWorkspaces.qml
@@ -22,7 +22,7 @@ Item {
required property Item source
readonly property Item maskSource: mask
- fragmentShader: `file://${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`
+ fragmentShader: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`)
}
Item {