aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-27 19:26:33 +0300
committerlink2xt <link2xt@testrun.org>2021-02-27 19:26:33 +0300
commit078bb839ea328e137a97576ded8717cca68135c7 (patch)
treed6caa70f281d762566a7b1745819f9bf486a1035
parentabab766cd77280971fc09f8ee0606a2cdbb68cdd (diff)
downloadkdeltachat-078bb839ea328e137a97576ded8717cca68135c7.tar.gz
kdeltachat-078bb839ea328e137a97576ded8717cca68135c7.zip
eventemitter: remove debug output
-rw-r--r--eventemitter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/eventemitter.cpp b/eventemitter.cpp
index b6273bd..61000dc 100644
--- a/eventemitter.cpp
+++ b/eventemitter.cpp
@@ -14,18 +14,14 @@ DcAccountsEventEmitter::DcAccountsEventEmitter(dc_accounts_event_emitter_t *emit
DcAccountsEventEmitter::~DcAccountsEventEmitter()
{
if (m_eventLoopThread) {
- qInfo("Waiting");
m_eventLoopThread->wait();
- qInfo("Waiting finished");
}
}
void
DcAccountsEventEmitter::start()
{
- std::cerr << "Starting loop thread" << std::endl;
m_eventLoopThread = new EventLoopThread(this);
- std::cerr << "Started loop thread" << std::endl;
QObject::connect(m_eventLoopThread, &EventLoopThread::emitEvent,
this, &DcAccountsEventEmitter::processEvent);
m_eventLoopThread->setEventEmitter(m_accounts_event_emitter);
@@ -80,11 +76,9 @@ DcAccountsEventEmitter::processEvent(DcEvent *event)
emit messagesChanged(event->getAccountId(), event->getData1Int(), event->getData2Int());
break;
case DC_EVENT_INCOMING_MSG:
- std::cout << "Emitting incoming message!" << std::endl;
emit incomingMessage(event->getAccountId(),
event->getData1Int(),
event->getData2Int());
- std::cout << "Emitted incoming message!" << std::endl;
break;
case DC_EVENT_MSGS_NOTICED:
emit messagesNoticed(event->getAccountId(), event->getData1Int());