better wallpaper loading
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user