Wallpapers + Selector: Fixed the refresh button and removed duplicate logic that was already present in the wallpaper service

This commit is contained in:
quadbyte 2025-08-14 23:38:07 -04:00
parent 1763fdcd97
commit 3108b5b1a4
3 changed files with 15 additions and 28 deletions

View file

@ -37,11 +37,6 @@ Singleton {
}
FileView {
// TBC ? needed for SWWW only ?
// Qt.callLater(function () {
// WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true);
// })
path: settingsFile
watchChanges: true
onFileChanged: reload()
@ -50,6 +45,7 @@ Singleton {
reload()
}
onLoaded: function () {
console.log("[Settings] loaded")
Qt.callLater(function () {
if (adapter.wallpaper.current !== "") {
console.log("[Settings] Set current wallpaper")