NotificationService: respect 0s timeout (never disappear, fixes #419)

Autoformat
This commit is contained in:
Ly-sec
2025-10-04 17:31:01 +02:00
parent 0bf2b0a8ad
commit 04290d82cf
4 changed files with 113 additions and 37 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ Item {
property string section: widgetProps && widgetProps.section || ""
property int sectionIndex: widgetProps && widgetProps.sectionWidgetIndex || 0
// Don't reserve space unless the loaded widget is really visible
implicitWidth: getImplicitSize(loader.item, "implicitWidth")
implicitHeight: getImplicitSize(loader.item, "implicitHeight")
@@ -28,7 +27,7 @@ Item {
}
function getImplicitSize(item, prop) {
return (item && item.visible) ? item[prop] : 0
return (item && item.visible) ? item[prop] : 0
}
Loader {