internal: fix null warnings
This commit is contained in:
parent
ff901d825b
commit
d1ad000a8e
2 changed files with 3 additions and 3 deletions
|
|
@ -187,12 +187,12 @@ StyledRect {
|
|||
required property BluetoothDevice modelData
|
||||
|
||||
animate: true
|
||||
text: Icons.getBluetoothIcon(modelData.icon)
|
||||
text: Icons.getBluetoothIcon(modelData?.icon)
|
||||
color: root.colour
|
||||
fill: 1
|
||||
|
||||
SequentialAnimation on opacity {
|
||||
running: device.modelData.state !== BluetoothDeviceState.Connected
|
||||
running: device.modelData?.state !== BluetoothDeviceState.Connected
|
||||
alwaysRunToEnd: true
|
||||
loops: Animation.Infinite
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ CustomMouseArea {
|
|||
if (!utilitiesShortcutActive)
|
||||
visibilities.utilities = false;
|
||||
|
||||
if (!popouts.currentName.startsWith("traymenu") || popouts.current.depth <= 1)
|
||||
if (!popouts.currentName.startsWith("traymenu") || popouts.current?.depth <= 1)
|
||||
popouts.hasCurrent = false;
|
||||
|
||||
if (Config.bar.showOnHover)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue