Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <QMediaPlayer>
|
||||
#include <QStringRef>
|
||||
#include <boost/variant.hpp>
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -712,7 +713,8 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
||||
{
|
||||
if ((*copy).ptr == nullptr)
|
||||
{
|
||||
qDebug() << "remem nullptr" << (*copy).name.string;
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "remem nullptr" << (*copy).name.string;
|
||||
}
|
||||
}
|
||||
std::vector<TwitchEmoteOccurence> v(it, twitchEmotes.end());
|
||||
@@ -749,7 +751,8 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
||||
{
|
||||
if (emote.second == nullptr)
|
||||
{
|
||||
qDebug() << "emote null" << emote.first.string;
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "emote null" << emote.first.string;
|
||||
}
|
||||
twitchEmotes.push_back(TwitchEmoteOccurence{
|
||||
startIndex + pos,
|
||||
@@ -821,7 +824,8 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
||||
{
|
||||
if (tup.ptr == nullptr)
|
||||
{
|
||||
qDebug() << "v nullptr" << tup.name.string;
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "v nullptr" << tup.name.string;
|
||||
continue;
|
||||
}
|
||||
QRegularExpression emoteregex(
|
||||
@@ -885,7 +889,8 @@ void TwitchMessageBuilder::runIgnoreReplaces(
|
||||
{
|
||||
if (tup.ptr == nullptr)
|
||||
{
|
||||
qDebug() << "v nullptr" << tup.name.string;
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "v nullptr" << tup.name.string;
|
||||
continue;
|
||||
}
|
||||
QRegularExpression emoteregex(
|
||||
@@ -955,7 +960,8 @@ void TwitchMessageBuilder::appendTwitchEmote(
|
||||
start, end, app->emotes->twitch.getOrCreateEmote(id, name), name};
|
||||
if (emoteOccurence.ptr == nullptr)
|
||||
{
|
||||
qDebug() << "nullptr" << emoteOccurence.name.string;
|
||||
qCDebug(chatterinoTwitch)
|
||||
<< "nullptr" << emoteOccurence.name.string;
|
||||
}
|
||||
vec.push_back(std::move(emoteOccurence));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user