From 4491bba5ec5b3461228a5403067324bed1eb67a3 Mon Sep 17 00:00:00 2001 From: apa420 Date: Wed, 4 Jul 2018 13:54:01 +0200 Subject: [PATCH] Boldness is now fontStyle --- src/providers/twitch/TwitchMessageBuilder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index 7ae478c1..9a756bff 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -229,10 +229,10 @@ MessagePtr TwitchMessageBuilder::build() // Actually just text QString linkString = this->matchLink(string); - auto Boldness = FontStyle::ChatMedium; + auto fontstyle = FontStyle::ChatMedium; if (string[0] == '@' && app->settings->usernameBold) { - Boldness = FontStyle::ChatMediumBold; + fontstyle = FontStyle::ChatMediumBold; } Link link; @@ -261,7 +261,7 @@ MessagePtr TwitchMessageBuilder::build() } this->emplace(string, MessageElement::Text, textColor, - Boldness) // + fontStyle) // ->setLink(link); } else { // is emoji this->emplace(emoteData, EmoteElement::EmojiAll);