From 52039744fa2e5e116548e5236cd8ba5f5d81702a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 22:36:00 +0300 Subject: Remove default parameters from widget2. --- src/gui/popups/speechbubble.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/gui/popups/speechbubble.cpp') diff --git a/src/gui/popups/speechbubble.cpp b/src/gui/popups/speechbubble.cpp index f4c74cfae..b4da99cc7 100644 --- a/src/gui/popups/speechbubble.cpp +++ b/src/gui/popups/speechbubble.cpp @@ -48,8 +48,9 @@ SpeechBubble::SpeechBubble() : mCaption->setFont(boldFont); mSpeechBox->setOpaque(Opaque_false); - mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), - getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll( + getThemeColor(ThemeColorId::BUBBLE_TEXT, 255U), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE, 255U)); } void SpeechBubble::postInit() @@ -73,8 +74,9 @@ void SpeechBubble::setText(const std::string &text, const bool showName) if (text == mText && (mCaption->getWidth() <= mSpeechBox->getWidth())) return; - mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), - getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll( + getThemeColor(ThemeColorId::BUBBLE_TEXT, 255U), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE, 255U)); int width = mCaption->getWidth(); mSpeechBox->clearRows(); -- cgit v1.2.3-60-g2f50