tray: use .values.length for visibility - UntypedObjectModel has no count property
This commit is contained in:
parent
b6fe670467
commit
fb82cfc478
2 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import "../services" as S
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: root
|
id: root
|
||||||
spacing: S.Theme.moduleSpacing + 2
|
spacing: S.Theme.moduleSpacing + 2
|
||||||
visible: S.Modules.tray.enable && SystemTray.items.count > 0
|
visible: S.Modules.tray.enable && SystemTray.items.values.length > 0
|
||||||
|
|
||||||
required property var bar
|
required property var bar
|
||||||
property var _activeMenu: null
|
property var _activeMenu: null
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,6 @@ shell/modules/Tooltip.qml: Type PanelWindow is not creatable. [uncreatable-type]
|
||||||
shell/modules/Tooltip.qml: Type margins is used but it is not resolved [unresolved-type]
|
shell/modules/Tooltip.qml: Type margins is used but it is not resolved [unresolved-type]
|
||||||
shell/modules/Tooltip.qml: unknown grouped property scope margins. [unqualified]
|
shell/modules/Tooltip.qml: unknown grouped property scope margins. [unqualified]
|
||||||
shell/modules/TrayMenu.qml: Unqualified access [unqualified]
|
shell/modules/TrayMenu.qml: Unqualified access [unqualified]
|
||||||
shell/modules/TrayModule.qml: Member "count" not found on type "UntypedObjectModel" [missing-property]
|
|
||||||
shell/modules/TrayModule.qml: Member "screen" not found on type "QObject" [missing-property]
|
shell/modules/TrayModule.qml: Member "screen" not found on type "QObject" [missing-property]
|
||||||
shell/modules/TrayModule.qml: Type "qs::dbus::dbusmenu::DBusMenuHandle" of property "menu" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively. [unresolved-type]
|
shell/modules/TrayModule.qml: Type "qs::dbus::dbusmenu::DBusMenuHandle" of property "menu" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively. [unresolved-type]
|
||||||
shell/modules/TrayModule.qml: Unqualified access [unqualified]
|
shell/modules/TrayModule.qml: Unqualified access [unqualified]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue