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]