diff options
author | link2xt <link2xt@testrun.org> | 2021-03-16 03:29:24 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-16 03:29:24 +0300 |
commit | 97f382bee8101a3815939839934d1a898e8aa507 (patch) | |
tree | 582410c0880ff3c1db3173b1f2ef7372a54c2fd2 /qml | |
parent | b739e3fe86d7b8ecda8ef305306d14ef6f38a1b6 (diff) | |
download | kdeltachat-97f382bee8101a3815939839934d1a898e8aa507.tar.gz kdeltachat-97f382bee8101a3815939839934d1a898e8aa507.zip |
Pass eventEmitter to ChatlistPage as property
Diffstat (limited to 'qml')
-rw-r--r-- | qml/AccountsPage.qml | 2 | ||||
-rw-r--r-- | qml/ChatlistPage.qml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/qml/AccountsPage.qml b/qml/AccountsPage.qml index 7f23776..0088777 100644 --- a/qml/AccountsPage.qml +++ b/qml/AccountsPage.qml @@ -110,7 +110,7 @@ Kirigami.Page { dcAccounts.selectAccount(model.number) let context = dcAccounts.getSelectedAccount() if (context.isConfigured()) { - pageStack.replace("qrc:/qml/ChatlistPage.qml", {context: context}) + pageStack.replace("qrc:/qml/ChatlistPage.qml", {context: context, eventEmitter: eventEmitter}) } else { pageStack.replace("qrc:/qml/ConfigurePage.qml", {context: context, eventEmitter: eventEmitter}) } diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index a5bc1ed..d095025 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -11,6 +11,7 @@ Kirigami.ScrollablePage { id: chatlistPage required property DcContext context + required property DcAccountsEventEmitter eventEmitter signal messagesChanged onMessagesChanged: { |