diff --git a/components/StyledPanelWindow.qml b/components/StyledPanelWindow.qml index 7a730c6..ebadb64 100644 --- a/components/StyledPanelWindow.qml +++ b/components/StyledPanelWindow.qml @@ -7,7 +7,7 @@ import Quickshell.Wayland PanelWindow { id: window - default property alias content: contentItem.children + default property alias content: contentItem.data property alias background: background required property string name property bool canFocus: true diff --git a/modules/powermenu/PowerMenu.qml b/modules/powermenu/PowerMenu.qml index ad87ea3..e784007 100644 --- a/modules/powermenu/PowerMenu.qml +++ b/modules/powermenu/PowerMenu.qml @@ -20,15 +20,15 @@ StyledPanelWindow { Visibility.powermenu = focused; } + Process { + id: process + } + WrapperItem { id: rect margin: 14 - Process { - id: process - } - StyledListView { id: list