Move more things to WidgetLoader.qml
This commit is contained in:
parent
68181a4df6
commit
566e3e2aa7
4 changed files with 46 additions and 127 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue