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