Cleanup debug logging (#3015)

This commit is contained in:
Paweł 2021-07-17 18:45:02 +02:00 committed by GitHub
parent a84e62c6bb
commit 89b86b94e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
#include "messages/layouts/MessageLayoutElement.hpp"
#include "Application.hpp"
#include "common/QLogging.hpp"
#include "messages/Emote.hpp"
#include "messages/Image.hpp"
#include "messages/MessageElement.hpp"
@ -433,7 +432,6 @@ void MultiColorTextLayoutElement::paint(QPainter &painter)
for (const auto &segment : this->segments_)
{
qCDebug(chatterinoMessage) << "Draw segment:" << segment.text;
painter.setPen(segment.color);
painter.drawText(QRectF(this->getRect().x() + xOffset,
this->getRect().y(), 10000, 10000),

View file

@ -846,7 +846,8 @@ PubSub::PubSub()
this->websocketClient.set_access_channels(websocketpp::log::alevel::all);
this->websocketClient.clear_access_channels(
websocketpp::log::alevel::frame_payload);
websocketpp::log::alevel::frame_payload |
websocketpp::log::alevel::frame_header);
this->websocketClient.init_asio();