controlcenter: corrected null anchor warn
This commit is contained in:
parent
29f7c7aa4f
commit
8c84f670e6
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ ColumnLayout {
|
||||||
readonly property bool loading: modelData.state === BluetoothDeviceState.Connecting || modelData.state === BluetoothDeviceState.Disconnecting
|
readonly property bool loading: modelData.state === BluetoothDeviceState.Connecting || modelData.state === BluetoothDeviceState.Disconnecting
|
||||||
readonly property bool connected: modelData.state === BluetoothDeviceState.Connected
|
readonly property bool connected: modelData.state === BluetoothDeviceState.Connected
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: view.contentItem.left
|
||||||
anchors.right: parent.right
|
anchors.right: view.contentItem.right
|
||||||
implicitHeight: deviceInner.implicitHeight + Appearance.padding.normal * 2
|
implicitHeight: deviceInner.implicitHeight + Appearance.padding.normal * 2
|
||||||
|
|
||||||
color: Qt.alpha(Colours.tPalette.m3surfaceContainer, root.session.bt.active === modelData ? Colours.tPalette.m3surfaceContainer.a : 0)
|
color: Qt.alpha(Colours.tPalette.m3surfaceContainer, root.session.bt.active === modelData ? Colours.tPalette.m3surfaceContainer.a : 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue