Revert "Wallpaper: attempt to fix wallpaper bindings on Qt 6.8"

This reverts commit c7ee627110.
This commit is contained in:
LemmyCook 2025-08-31 18:00:30 -04:00
parent c7ee627110
commit 4510762a35

View file

@ -93,13 +93,6 @@ Singleton {
return Settings.data.wallpaper.directory return Settings.data.wallpaper.directory
} }
// -------------------------------------------------------------------
function forceRefreshConfig() {
var backup = Settings.data.wallpaper.monitors.slice(0)
Settings.data.wallpaper.monitors = []
Settings.data.wallpaper.monitors = backup
}
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Set specific monitor directory // Set specific monitor directory
function setMonitorDirectory(screenName, directory) { function setMonitorDirectory(screenName, directory) {
@ -113,7 +106,6 @@ Singleton {
"wallpaper": "" "wallpaper": ""
}) })
} }
forceRefreshConfig()
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
@ -136,7 +128,6 @@ Singleton {
_setWallpaper(Quickshell.screens[i].name, path) _setWallpaper(Quickshell.screens[i].name, path)
} }
} }
forceRefreshConfig()
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------