some qs fixes

This commit is contained in:
nvrl committed 2026-10-09 04:17:36 +02:00
1 parent 32d5683fad
commit 6addb504e6
26 files changed
+510 -82

No files matched your search

+3 -1
View File
@@ -19,8 +19,10 @@ Singleton {
// The wallpaper to use when no particular monitor is being asked about.
property string path: ""
// Encoded segment by segment: a `#` or `?` in a file name would otherwise
// be read as the start of a fragment or a query.
readonly property url source: root.path !== ""
? Qt.resolvedUrl("file://" + root.path)
? "file://" + root.path.split("/").map(encodeURIComponent).join("/")
: Theme.fallbackWallpaper
signal changed()