fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
This commit is contained in:
@@ -11,9 +11,7 @@ using namespace chatterino;
|
||||
|
||||
Url getEmoteLink(const EmoteId &id, const QString &emoteScale)
|
||||
{
|
||||
return {QString(TWITCH_EMOTE_TEMPLATE)
|
||||
.replace("{id}", id.string)
|
||||
.replace("{scale}", emoteScale)};
|
||||
return {TWITCH_EMOTE_TEMPLATE.arg(id.string, emoteScale)};
|
||||
}
|
||||
|
||||
QSize getEmoteExpectedBaseSize(const EmoteId &id)
|
||||
|
||||
Reference in New Issue
Block a user