Removed double Connections in settings.

This commit is contained in:
quadbyte 2025-08-14 23:50:41 -04:00
parent 3108b5b1a4
commit eac335ab95
3 changed files with 13 additions and 26 deletions

View file

@ -45,7 +45,7 @@ Singleton {
reload()
}
onLoaded: function () {
console.log("[Settings] loaded")
console.log("[Settings] Loaded")
Qt.callLater(function () {
if (adapter.wallpaper.current !== "") {
console.log("[Settings] Set current wallpaper")
@ -181,17 +181,4 @@ Singleton {
}
}
}
Connections {
target: adapter.wallpaper
function onIsRandomChanged() {
Wallpapers.toggleRandomWallpaper()
}
function onRandomIntervalChanged() {
Wallpapers.restartRandomWallpaperTimer()
}
function onDirectoryChanged() {
Wallpapers.loadWallpapers()
}
}
}