fix: template string unused import false positives

This commit is contained in:
2 * r + 2 * t 2026-03-20 22:38:09 +11:00
parent e88bbe425f
commit a3b3c88f02
3 changed files with 3 additions and 3 deletions

View file

@ -5,5 +5,5 @@ ShaderEffect {
required property Item source
required property Item maskSource
fragmentShader: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`)
fragmentShader: Quickshell.shellPath("assets/shaders/opacitymask.frag.qsb")
}

View file

@ -96,7 +96,7 @@ Item {
Image {
asynchronous: true
source: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/dino.png`)
source: Quickshell.shellPath("assets/dino.png")
fillMode: Image.PreserveAspectFit
sourceSize.width: clipRect.width * 0.8

View file

@ -72,7 +72,7 @@ QtObject {
h2 ^= Math.imul(h1 ^ (h1 >>> 13), 3266489909);
const hash = (h2 >>> 0).toString(16).padStart(8, 0) + (h1 >>> 0).toString(16).padStart(8, 0);
const cache = `${Paths.notifimagecache}/${hash}.png`;
const cache = Paths.notifimagecache + "/${hash}.png";
CUtils.saveItem(this, Qt.resolvedUrl(cache), () => {
notif.image = cache;
notif.dummyImageLoader.active = false;