Wallpaper: smarter init

This commit is contained in:
ItsLemmy
2025-09-26 10:09:17 -04:00
parent 5cfa66f9e8
commit 1531275707
+7 -2
View File
@@ -86,9 +86,14 @@ Singleton {
}
}
// For translations, wait for i18n to be ready
translateModels()
}
// -------------------------------------------------
function translateModels() {
// Wait for i18n to be ready by retrying every time
if (!I18n.isLoaded) {
Qt.callLater(init)
Qt.callLater(translateModels)
return
}