From 36d187e25115779e9a124d8d69f7e2dedd91a545 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 18:28:52 +0200 Subject: [PATCH] fix menu Process objects: declare as properties for PopupPanel compat --- modules/BluetoothMenu.qml | 4 ++-- modules/NetworkMenu.qml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/BluetoothMenu.qml b/modules/BluetoothMenu.qml index a4b7469..3704070 100644 --- a/modules/BluetoothMenu.qml +++ b/modules/BluetoothMenu.qml @@ -10,7 +10,7 @@ M.PopupPanel { property var _devices: [] - Process { + property Process _scanner: Process { id: scanner running: true command: ["sh", "-c", @@ -46,7 +46,7 @@ M.PopupPanel { } } - Process { + property Process _toggleProc: Process { id: toggleProc property string action: "" property string mac: "" diff --git a/modules/NetworkMenu.qml b/modules/NetworkMenu.qml index e9854bc..2c26119 100644 --- a/modules/NetworkMenu.qml +++ b/modules/NetworkMenu.qml @@ -10,7 +10,7 @@ M.PopupPanel { property var _networks: [] - Process { + property Process _scanner: Process { id: scanner running: true command: ["sh", "-c", @@ -68,14 +68,14 @@ M.PopupPanel { } } - Process { + property Process _connectProc: Process { id: connectProc property string uuid: "" command: ["nmcli", "connection", "up", uuid] onRunningChanged: if (!running) scanner.running = true } - Process { + property Process _disconnectProc: Process { id: disconnectProc property string uuid: "" command: ["nmcli", "connection", "down", uuid]