From bb6717666a669aa81cda28896ed292ca5af55ece Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 16 Mar 2026 17:07:54 -0400 Subject: change things --- modules/controlcenter/Session.qml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 modules/controlcenter/Session.qml (limited to 'modules/controlcenter/Session.qml') diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml deleted file mode 100644 index b7dd888..0000000 --- a/modules/controlcenter/Session.qml +++ /dev/null @@ -1,21 +0,0 @@ -import QtQuick -import "./state" -import qs.modules.controlcenter - -QtObject { - readonly property list panes: PaneRegistry.labels - - required property var root - property bool floating: false - property string active: "network" - property int activeIndex: 0 - property bool navExpanded: false - - readonly property BluetoothState bt: BluetoothState {} - readonly property NetworkState network: NetworkState {} - readonly property EthernetState ethernet: EthernetState {} - - onActiveChanged: activeIndex = Math.max(0, panes.indexOf(active)) - onActiveIndexChanged: if (panes[activeIndex]) - active = panes[activeIndex] -} -- cgit v1.2.3-freya