fix: template string unused import false positives
This commit is contained in:
parent
e88bbe425f
commit
a3b3c88f02
3 changed files with 3 additions and 3 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue