controlcenter: minor warning fix

This commit is contained in:
ATMDA 2025-11-15 19:08:52 -05:00
parent ec8da25d19
commit fc2640c1ef

View file

@ -35,7 +35,7 @@ Item {
MaterialIcon { MaterialIcon {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
animate: true animate: true
text: Icons.getBluetoothIcon(root.device.icon) text: Icons.getBluetoothIcon(root.device?.icon ?? "")
font.pointSize: Appearance.font.size.extraLarge * 3 font.pointSize: Appearance.font.size.extraLarge * 3
font.bold: true font.bold: true
} }