aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eventemitter.cpp1
-rw-r--r--eventemitter.h1
-rw-r--r--qml/ChatPage.qml3
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!")
}