From 1de24676bb80ce633a026f336242d486b40dd3c8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 3 Sep 2025 18:55:05 +1000 Subject: internal: refactor Paths util --- modules/dashboard/Media.qml | 2 +- modules/dashboard/dash/Media.qml | 2 +- modules/dashboard/dash/User.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/dashboard') diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 5817d3e..937e07e 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -526,7 +526,7 @@ Item { playing: Players.active?.isPlaying ?? false speed: BeatDetector.bpm / 300 - source: Paths.expandTilde(Config.paths.mediaGif) + source: Paths.absolutePath(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index eda44d5..7cb9e3e 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -209,7 +209,7 @@ Item { playing: Players.active?.isPlaying ?? false speed: BeatDetector.bpm / 300 - source: Paths.expandTilde(Config.paths.mediaGif) + source: Paths.absolutePath(Config.paths.mediaGif) asynchronous: true fillMode: AnimatedImage.PreserveAspectFit } diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index 2576e3e..db12d01 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -36,7 +36,7 @@ Row { id: pfp anchors.fill: parent - path: `${Paths.stringify(Paths.home)}/.face` + path: `${Paths.home}/.face` } MouseArea { -- cgit v1.2.3-freya