diff options
Diffstat (limited to 'modules/controlcenter/Session.qml')
| -rw-r--r-- | modules/controlcenter/Session.qml | 21 |
1 files changed, 0 insertions, 21 deletions
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<string> 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] -} |