diff options
author | link2xt <link2xt@testrun.org> | 2021-03-16 04:10:29 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-19 03:13:33 +0300 |
commit | a21b68a39a3acfe2f82df274c51afffcfe60fe1c (patch) | |
tree | 223230bda1ebc5e3a28d1d15d43999a30258d9b6 | |
parent | 415e70dc80058fed522f5e5d4db1cb53ab44b01c (diff) | |
download | kdeltachat-a21b68a39a3acfe2f82df274c51afffcfe60fe1c.tar.gz kdeltachat-a21b68a39a3acfe2f82df274c51afffcfe60fe1c.zip |
eventemitter: remove useless incomingEvent signal
-rw-r--r-- | eventemitter.cpp | 1 | ||||
-rw-r--r-- | eventemitter.h | 1 | ||||
-rw-r--r-- | qml/ChatPage.qml | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/eventemitter.cpp b/eventemitter.cpp index 9e37a3d..3a66b75 100644 --- a/eventemitter.cpp +++ b/eventemitter.cpp @@ -31,7 +31,6 @@ DcAccountsEventEmitter::start() void DcAccountsEventEmitter::processEvent(DcEvent *event) { - emit incomingEvent(); switch (event->getId()) { case DC_EVENT_INFO: qInfo("%s", qUtf8Printable(event->getData2Str())); diff --git a/eventemitter.h b/eventemitter.h index c65fb29..4923e21 100644 --- a/eventemitter.h +++ b/eventemitter.h @@ -54,5 +54,4 @@ signals: void incomingMessage(uint32_t accountId, int chatId, int msgId); void messagesChanged(uint32_t accountId, int chatId, int msgId); void messagesNoticed(uint32_t accountId, int chatId); - void incomingEvent(); }; diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml index d0b0318..ecc2383 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -55,9 +55,6 @@ Kirigami.ScrollablePage { Connections { target: chatPage.eventEmitter - function onIncomingEvent() { - console.log("EVENT!") - } function onChatModified() { console.log("CHAT MODIFIED!") } |