qs: fix bluetooth separator being visible with no devices
This commit is contained in:
parent
7852cef60f
commit
1f01a009a9
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
pragma ComponentBehavior: Bound
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
@ -101,7 +102,7 @@ ClickableIcon {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
implicitHeight: 1
|
implicitHeight: 1
|
||||||
visible: linkTracker.linkGroups.length > 0
|
visible: root.adapter.devices.values.length > 0
|
||||||
|
|
||||||
color: ShellGlobals.colors.separator
|
color: ShellGlobals.colors.separator
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue