Clean up some debugging output

This commit is contained in:
Rasmus Karlsson 2017-10-27 22:05:08 +02:00
parent 2de98dc1f8
commit bdd5e4aae6

View file

@ -97,7 +97,7 @@ void ChannelView::layoutMessages()
void ChannelView::actuallyLayoutMessages() void ChannelView::actuallyLayoutMessages()
{ {
BENCH(timer) // BENCH(timer)
auto messages = this->getMessagesSnapshot(); auto messages = this->getMessagesSnapshot();
if (messages.getLength() == 0) { if (messages.getLength() == 0) {
@ -173,7 +173,7 @@ void ChannelView::actuallyLayoutMessages()
this->scrollBar.scrollToBottom(); this->scrollBar.scrollToBottom();
} }
MARK(timer); // MARK(timer);
if (redrawRequired) { if (redrawRequired) {
this->queueUpdate(); this->queueUpdate();
@ -472,7 +472,7 @@ void ChannelView::drawMessages(QPainter &painter)
// update messages that have been changed // update messages that have been changed
if (updateBuffer) { if (updateBuffer) {
this->updateMessageBuffer(messageRef, buffer.get(), i); this->updateMessageBuffer(messageRef, buffer.get(), i);
qDebug() << "updating buffer xD"; // qDebug() << "updating buffer xD";
} }
// get gif emotes // get gif emotes