mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix live wallpaper editing
This commit is contained in:
parent
6e89828a14
commit
1fde330685
@ -4,7 +4,6 @@ import ScreenPlayWallpaper 1.0
|
||||
import ScreenPlay.Shader 1.0
|
||||
import "ShaderWrapper" as ShaderWrapper
|
||||
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
anchors.fill: parent
|
||||
@ -46,8 +45,7 @@ Rectangle {
|
||||
|
||||
loader.sourceComponent = undefined
|
||||
loader.source = ""
|
||||
if (oldType === Wallpaper.WallpaperType.QML)
|
||||
Wallpaper.clearComponentCache()
|
||||
Wallpaper.clearComponentCache()
|
||||
|
||||
loader.source = Qt.resolvedUrl(Wallpaper.fullContentPath)
|
||||
}
|
||||
@ -221,5 +219,4 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user