diff --git a/shell/modules/PulseAnimation.qml b/shell/modules/PulseAnimation.qml index b288f4a..555a258 100644 --- a/shell/modules/PulseAnimation.qml +++ b/shell/modules/PulseAnimation.qml @@ -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 diff --git a/shell/modules/TrayModule.qml b/shell/modules/TrayModule.qml index a8ed98f..3f4fa81 100644 --- a/shell/modules/TrayModule.qml +++ b/shell/modules/TrayModule.qml @@ -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 diff --git a/test/qmllint-baseline.txt b/test/qmllint-baseline.txt index a5112d2..06ceb4d 100644 --- a/test/qmllint-baseline.txt +++ b/test/qmllint-baseline.txt @@ -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]