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" color: "white"
opacity: 0.3 opacity: 0.3
radius: root.realRounding
layer.enabled: true layer.enabled: true
layer.effect: MultiEffect { layer.effect: MultiEffect {
maskSource: selectionWrapper maskSource: selectionWrapper
-11
View File
@@ -10,8 +10,6 @@ import ZShell.Models
Searcher { Searcher {
id: root id: root
readonly property string currentNamePath: WallpaperPath.currentWallpaperPath
property bool showPreview: false property bool showPreview: false
readonly property string current: showPreview ? previewPath : actualCurrent readonly property string current: showPreview ? previewPath : actualCurrent
property string previewPath property string previewPath
@@ -38,15 +36,6 @@ Searcher {
forward: false forward: false
}) })
FileView {
path: root.currentNamePath
watchChanges: true
onFileChanged: reload()
onLoaded: {
root.actualCurrent = this.text;
}
}
FileSystemModel { FileSystemModel {
id: wallpapers id: wallpapers