mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Clean up some debugging output
This commit is contained in:
parent
2de98dc1f8
commit
bdd5e4aae6
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue