1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix live wallpaper editing

This commit is contained in:
Elias Steurer 2020-11-07 14:02:27 +01:00
parent 6e89828a14
commit 1fde330685

View File

@ -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 {
}
}
}
}