From 660b34fde5fd2e51bd1bb1a7ee0a6e3d36baa496 Mon Sep 17 00:00:00 2001 From: Damocles Date: Wed, 22 Apr 2026 22:00:58 +0200 Subject: [PATCH] fix Connections inside HoverPanel content - move to module level --- shell/modules/BluetoothModule.qml | 14 +++++++------- shell/modules/NetworkModule.qml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/shell/modules/BluetoothModule.qml b/shell/modules/BluetoothModule.qml index d107f71..6cf34e0 100644 --- a/shell/modules/BluetoothModule.qml +++ b/shell/modules/BluetoothModule.qml @@ -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 diff --git a/shell/modules/NetworkModule.qml b/shell/modules/NetworkModule.qml index 67194e0..5624489 100644 --- a/shell/modules/NetworkModule.qml +++ b/shell/modules/NetworkModule.qml @@ -54,6 +54,13 @@ M.BarSection { } } + Connections { + target: S.NetworkService + function onNetworksChanged() { + hoverPanel.keepOpen(500); + } + } + M.HoverPanel { id: hoverPanel showPanel: root._showPanel @@ -95,13 +102,6 @@ M.BarSection { onVisibleChanged: if (visible) S.NetworkService.refresh() - Connections { - target: S.NetworkService - function onNetworksChanged() { - hoverPanel.keepOpen(500); - } - } - C.NetworkApplet { width: hoverPanel.contentWidth accentColor: root.accentColor