mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Update src/Utils.cpp
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
This commit is contained in:
parent
3b3d9dff83
commit
04a26a5f43
1 changed files with 2 additions and 4 deletions
|
@ -141,11 +141,9 @@ utils::replaceEmoji(const QString &body)
|
||||||
if (!insideTag && utils::codepointIsEmoji(code)) {
|
if (!insideTag && utils::codepointIsEmoji(code)) {
|
||||||
if (!insideFontBlock) {
|
if (!insideFontBlock) {
|
||||||
fmtBody += QStringLiteral("<font face=\"") % UserSettings::instance()->emojiFont() %
|
fmtBody += QStringLiteral("<font face=\"") % UserSettings::instance()->emojiFont() %
|
||||||
QStringLiteral("\"") %
|
|
||||||
(UserSettings::instance()->enlargeEmojiOnlyMessages()
|
(UserSettings::instance()->enlargeEmojiOnlyMessages()
|
||||||
? QStringLiteral(" size=\"4\"")
|
? QStringLiteral("\" size=\"4\">")
|
||||||
: QString{}) %
|
: QStringLiteral("\">"));
|
||||||
QStringLiteral(">");
|
|
||||||
insideFontBlock = true;
|
insideFontBlock = true;
|
||||||
} else if (code == 0xfe0f) {
|
} else if (code == 0xfe0f) {
|
||||||
// BUG(Nico):
|
// BUG(Nico):
|
||||||
|
|
Loading…
Reference in a new issue