summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 01:55:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 01:55:25 +0300
commit916a3d76da98d078a807044c43d1a70bc146ba70 (patch)
tree88d7381a5b27c085e4f31363b50c6fe444372741 /src/being/being.cpp
parent4048cb70745cb872d020603614e077c92e0d01b8 (diff)
downloadmv-916a3d76da98d078a807044c43d1a70bc146ba70.tar.gz
mv-916a3d76da98d078a807044c43d1a70bc146ba70.tar.bz2
mv-916a3d76da98d078a807044c43d1a70bc146ba70.tar.xz
mv-916a3d76da98d078a807044c43d1a70bc146ba70.zip
Remove default parameters from speechbubble.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 769c0d93f..d51b45fbd 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -656,7 +656,9 @@ void Being::setSpeech(const std::string &restrict text) restrict2
createSpeechBubble();
if (mSpeechBubble != nullptr)
{
- mSpeechBubble->setCaption(isShowName ? mName : "");
+ mSpeechBubble->setCaption(isShowName ? mName : "",
+ &theme->getColor(ThemeColorId::BUBBLE_NAME, 255),
+ &theme->getColor(ThemeColorId::BUBBLE_NAME_OUTLINE, 255));
mSpeechBubble->setText(mSpeech, isShowName);
}
}