mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
remove all usages of non-standard #warn
This commit is contained in:
parent
bbcbc4e3d7
commit
bfc6eb8d4b
4 changed files with 9 additions and 9 deletions
|
@ -20,7 +20,7 @@ ConcurrentMap<QString, LazyLoadedImage *> *Emojis::imageCache =
|
||||||
QString
|
QString
|
||||||
Emojis::replaceShortCodes(const QString &text)
|
Emojis::replaceShortCodes(const QString &text)
|
||||||
{
|
{
|
||||||
#pragma message WARN("xD")
|
// TODO: Implement this xD
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ Emotes::getTwitchEmoteLink(long id, qreal &scale)
|
||||||
LazyLoadedImage *
|
LazyLoadedImage *
|
||||||
Emotes::getCheerImage(long long amount, bool animated)
|
Emotes::getCheerImage(long long amount, bool animated)
|
||||||
{
|
{
|
||||||
#pragma message WARN("xD")
|
// TODO: fix this xD
|
||||||
return getCheerBadge(amount);
|
return getCheerBadge(amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -217,7 +217,7 @@ IrcManager::addIgnoredUser(QString const &username)
|
||||||
{
|
{
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
if (!tryAddIgnoredUser(username, errorMessage)) {
|
if (!tryAddIgnoredUser(username, errorMessage)) {
|
||||||
#pragma message WARN("Implement IrcManager::addIgnoredUser")
|
// TODO: Implement IrcManager::addIgnoredUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -251,6 +251,6 @@ IrcManager::removeIgnoredUser(QString const &username)
|
||||||
{
|
{
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
if (!tryRemoveIgnoredUser(username, errorMessage)) {
|
if (!tryRemoveIgnoredUser(username, errorMessage)) {
|
||||||
#pragma message WARN("TODO: Implement IrcManager::removeIgnoredUser")
|
// TODO: Implement IrcManager::removeIgnoredUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
message.cpp
10
message.cpp
|
@ -105,7 +105,7 @@ Message::Message(const IrcPrivateMessage &ircMessage, const Channel &channel,
|
||||||
Word::BadgeGlobalMod, QString(),
|
Word::BadgeGlobalMod, QString(),
|
||||||
QString("Global Moderator")));
|
QString("Global Moderator")));
|
||||||
} else if (badge == "moderator/1") {
|
} else if (badge == "moderator/1") {
|
||||||
#pragma message WARN("xD")
|
// TODO: implement this xD
|
||||||
words.push_back(Word(
|
words.push_back(Word(
|
||||||
Resources::badgeTurbo(), Word::BadgeModerator, QString(),
|
Resources::badgeTurbo(), Word::BadgeModerator, QString(),
|
||||||
QString("Channel Moderator"))); // custom badge
|
QString("Channel Moderator"))); // custom badge
|
||||||
|
@ -183,7 +183,7 @@ Message::Message(const IrcPrivateMessage &ircMessage, const Channel &channel,
|
||||||
userDisplayString, QString()));
|
userDisplayString, QString()));
|
||||||
|
|
||||||
// highlights
|
// highlights
|
||||||
#pragma message WARN("xD")
|
// TODO: implement this xD
|
||||||
|
|
||||||
// bits
|
// bits
|
||||||
QString bits = "";
|
QString bits = "";
|
||||||
|
@ -353,7 +353,7 @@ Message::Message(const IrcPrivateMessage &ircMessage, const Channel &channel,
|
||||||
// bttv / ffz emotes
|
// bttv / ffz emotes
|
||||||
LazyLoadedImage *bttvEmote;
|
LazyLoadedImage *bttvEmote;
|
||||||
|
|
||||||
#pragma message WARN("ignored emotes")
|
// TODO: Implement this (ignored emotes)
|
||||||
if (Emotes::bttvEmotes().tryGet(string, bttvEmote) ||
|
if (Emotes::bttvEmotes().tryGet(string, bttvEmote) ||
|
||||||
channel.bttvChannelEmotes().tryGet(string, bttvEmote) ||
|
channel.bttvChannelEmotes().tryGet(string, bttvEmote) ||
|
||||||
Emotes::ffzEmotes().tryGet(string, bttvEmote) ||
|
Emotes::ffzEmotes().tryGet(string, bttvEmote) ||
|
||||||
|
@ -388,7 +388,7 @@ Message::Message(const IrcPrivateMessage &ircMessage, const Channel &channel,
|
||||||
|
|
||||||
this->m_words = words;
|
this->m_words = words;
|
||||||
|
|
||||||
#pragma message WARN("xD")
|
// TODO: Implement this xD
|
||||||
// if (!isReceivedWhisper &&
|
// if (!isReceivedWhisper &&
|
||||||
// AppSettings.HighlightIgnoredUsers.ContainsKey(Username))
|
// AppSettings.HighlightIgnoredUsers.ContainsKey(Username))
|
||||||
// {
|
// {
|
||||||
|
@ -593,6 +593,6 @@ Message::sortTwitchEmotes(const std::pair<long int, LazyLoadedImage *> &a,
|
||||||
QString
|
QString
|
||||||
Message::matchLink(const QString &string)
|
Message::matchLink(const QString &string)
|
||||||
{
|
{
|
||||||
#pragma message WARN("xD")
|
// TODO: Implement this xD
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue