fix Connections inside HoverPanel content - move to module level
This commit is contained in:
parent
5da7005ce7
commit
660b34fde5
2 changed files with 14 additions and 14 deletions
|
|
@ -45,6 +45,13 @@ M.BarSection {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: S.BluetoothService
|
||||||
|
function onDevicesChanged() {
|
||||||
|
hoverPanel.keepOpen(500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
M.HoverPanel {
|
M.HoverPanel {
|
||||||
id: hoverPanel
|
id: hoverPanel
|
||||||
showPanel: root._showPanel
|
showPanel: root._showPanel
|
||||||
|
|
@ -86,13 +93,6 @@ M.BarSection {
|
||||||
onVisibleChanged: if (visible)
|
onVisibleChanged: if (visible)
|
||||||
S.BluetoothService.refresh()
|
S.BluetoothService.refresh()
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: S.BluetoothService
|
|
||||||
function onDevicesChanged() {
|
|
||||||
hoverPanel.keepOpen(500);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
C.BluetoothApplet {
|
C.BluetoothApplet {
|
||||||
width: hoverPanel.contentWidth
|
width: hoverPanel.contentWidth
|
||||||
accentColor: root.accentColor
|
accentColor: root.accentColor
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,13 @@ M.BarSection {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: S.NetworkService
|
||||||
|
function onNetworksChanged() {
|
||||||
|
hoverPanel.keepOpen(500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
M.HoverPanel {
|
M.HoverPanel {
|
||||||
id: hoverPanel
|
id: hoverPanel
|
||||||
showPanel: root._showPanel
|
showPanel: root._showPanel
|
||||||
|
|
@ -95,13 +102,6 @@ M.BarSection {
|
||||||
onVisibleChanged: if (visible)
|
onVisibleChanged: if (visible)
|
||||||
S.NetworkService.refresh()
|
S.NetworkService.refresh()
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: S.NetworkService
|
|
||||||
function onNetworksChanged() {
|
|
||||||
hoverPanel.keepOpen(500);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
C.NetworkApplet {
|
C.NetworkApplet {
|
||||||
width: hoverPanel.contentWidth
|
width: hoverPanel.contentWidth
|
||||||
accentColor: root.accentColor
|
accentColor: root.accentColor
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue