forked from quickshell/quickshell
service/tray: move menu access to SystemTrayMenuWatcher
This commit is contained in:
parent
3c0456a3c0
commit
e7cfb5cf37
4 changed files with 94 additions and 40 deletions
|
@ -104,7 +104,7 @@ class DBusMenuItem: public QObject {
|
|||
/// > instead of checking if `children` is empty.
|
||||
Q_PROPERTY(QQmlListProperty<DBusMenuItem> children READ children NOTIFY childrenChanged);
|
||||
// clang-format on
|
||||
QML_NAMED_ELEMENT(DBusMenu);
|
||||
QML_ELEMENT;
|
||||
QML_UNCREATABLE("DBusMenus can only be acquired from a DBusMenuHandle");
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue