From 9cc440eb5bf56b16ef6ea4bf2061f57d0c4b4e4a Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 16 Mar 2021 03:30:00 +0300 Subject: Pass context and eventEmitter to ChatPage as properties --- qml/ChatPage.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qml/ChatPage.qml') diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml index fd6c154..1862b44 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -11,6 +11,9 @@ Kirigami.ScrollablePage { title: chat ? chat.name : qsTr("Chat") + required property DcContext context + required property DcAccountsEventEmitter eventEmitter + required property var chatId readonly property DcChat chat: context.getChat(chatId) -- cgit v1.2.3-70-g09d2