tray: fix invisible module - use .count instead of .length on UntypedObjectModel
This commit is contained in:
parent
412f6d024b
commit
b6fe670467
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ import "../services" as S
|
|||
|
||||
SequentialAnimation {
|
||||
id: root
|
||||
loops: S.Theme.reducedMotion ? 0 : Animation.Infinite
|
||||
loops: S.Theme.reducedMotion ? 1 : Animation.Infinite
|
||||
|
||||
property real minOpacity: 0.4
|
||||
property int halfDuration: 400
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import "../services" as S
|
|||
RowLayout {
|
||||
id: root
|
||||
spacing: S.Theme.moduleSpacing + 2
|
||||
visible: S.Modules.tray.enable && SystemTray.items.length > 0
|
||||
visible: S.Modules.tray.enable && SystemTray.items.count > 0
|
||||
|
||||
required property var bar
|
||||
property var _activeMenu: null
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ 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: unknown grouped property scope margins. [unqualified]
|
||||
shell/modules/TrayMenu.qml: Unqualified access [unqualified]
|
||||
shell/modules/TrayModule.qml: Member "length" not found on type "UntypedObjectModel" [missing-property]
|
||||
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: 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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue