Cast qml object where necessary
This commit is contained in:
@@ -175,7 +175,7 @@ MessageDelegateBase {
|
||||
const menu = Qt.createComponent("org.kde.neochat", "UserMenu").createObject(root, {
|
||||
window: QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow,
|
||||
author: root.author,
|
||||
});
|
||||
}) as UserMenu;
|
||||
console.info(Qt.createComponent("org.kde.neochat", "UserMenu").errorString());
|
||||
menu.popup(root.QQC2.Overlay.overlay);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user