fix Connections inside HoverPanel content - move to module level

This commit is contained in:
Damocles 2026-04-22 22:00:58 +02:00
parent 5da7005ce7
commit 660b34fde5
2 changed files with 14 additions and 14 deletions

View file

@ -45,6 +45,13 @@ M.BarSection {
}
}
Connections {
target: S.BluetoothService
function onDevicesChanged() {
hoverPanel.keepOpen(500);
}
}
M.HoverPanel {
id: hoverPanel
showPanel: root._showPanel
@ -86,13 +93,6 @@ M.BarSection {
onVisibleChanged: if (visible)
S.BluetoothService.refresh()
Connections {
target: S.BluetoothService
function onDevicesChanged() {
hoverPanel.keepOpen(500);
}
}
C.BluetoothApplet {
width: hoverPanel.contentWidth
accentColor: root.accentColor