From 078bb839ea328e137a97576ded8717cca68135c7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 27 Feb 2021 19:26:33 +0300 Subject: eventemitter: remove debug output --- eventemitter.cpp | 6 ------ 1 file changed, 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()); -- cgit v1.2.3-70-g09d2