better wallpaper loading

This commit is contained in:
Zacharias-Brohn
2025-11-20 22:11:44 +01:00
parent f257874a59
commit 4c1b89b612
2 changed files with 2 additions and 11 deletions
+2
View File
@@ -210,6 +210,8 @@ MouseArea {
color: "white"
opacity: 0.3
radius: root.realRounding
layer.enabled: true
layer.effect: MultiEffect {
maskSource: selectionWrapper
-11
View File
@@ -10,8 +10,6 @@ import ZShell.Models
Searcher {
id: root
readonly property string currentNamePath: WallpaperPath.currentWallpaperPath
property bool showPreview: false
readonly property string current: showPreview ? previewPath : actualCurrent
property string previewPath
@@ -38,15 +36,6 @@ Searcher {
forward: false
})
FileView {
path: root.currentNamePath
watchChanges: true
onFileChanged: reload()
onLoaded: {
root.actualCurrent = this.text;
}
}
FileSystemModel {
id: wallpapers