diff options
author | link2xt <link2xt@testrun.org> | 2021-03-16 03:34:37 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-19 03:13:33 +0300 |
commit | 3158d4ce95cf8e8a1884cf795de41bee16bef3d5 (patch) | |
tree | cfb4c5dd44403617adf33fa8044d90e69a1fe6a5 /qml/ChatPage.qml | |
parent | bb9cf9564f9933928ded677809ccd8f9b0980d12 (diff) | |
download | kdeltachat-3158d4ce95cf8e8a1884cf795de41bee16bef3d5.tar.gz kdeltachat-3158d4ce95cf8e8a1884cf795de41bee16bef3d5.zip |
Fix some qmllint warnings
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r-- | qml/ChatPage.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml index 4496954..e084efe 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -65,20 +65,20 @@ Kirigami.ScrollablePage { console.log("Incoming message for chat " + chatId) if (chatId == chatPage.chatId) { - updateMessagelist() + chatPage.updateMessagelist() } } function onMessagesChanged(accountId, chatId, msgId) { console.log("Messages changed for chat " + chatId) if (chatId == chatPage.chatId) { - updateMessagelist() + chatPage.updateMessagelist() } } } Component.onCompleted: { - updateMessagelist() + chatPage.updateMessagelist() } background: Rectangle { @@ -111,7 +111,7 @@ Kirigami.ScrollablePage { text: qsTr("Send") enabled: messageField.length > 0 onClicked: { - context.sendTextMessage(chatId, messageField.text) + chatPage.context.sendTextMessage(chatPage.chatId, messageField.text) messageField.text = "" } } |