Move more things to WidgetLoader.qml

This commit is contained in:
Ly-sec 2025-08-22 19:27:16 +02:00
parent 68181a4df6
commit 566e3e2aa7
4 changed files with 46 additions and 127 deletions

View file

@ -137,17 +137,9 @@ Variants {
WidgetLoader {
id: widgetLoader
onWidgetLoaded: function(widgetName) {
Logger.log("Bar", `Widget loaded: ${widgetName}`)
}
onWidgetFailed: function(widgetName, error) {
Logger.error("Bar", `Widget failed: ${widgetName} - ${error}`)
}
onLoadingComplete: function(total, loaded, failed) {
Logger.log("Bar", `Widget loading complete: ${loaded}/${total} loaded, ${failed} failed`)
}
}
// Initialize widget loading tracking