summaryrefslogtreecommitdiff
path: root/src/gui/speechbubble.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/speechbubble.h
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadplus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/gui/speechbubble.h')
-rw-r--r--src/gui/speechbubble.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/speechbubble.h b/src/gui/speechbubble.h
index 0208941c4..c6b512c83 100644
--- a/src/gui/speechbubble.h
+++ b/src/gui/speechbubble.h
@@ -47,13 +47,13 @@ class SpeechBubble : public Popup
* Sets the name displayed for the speech bubble, and in what color.
*/
void setCaption(const std::string &name,
- const gcn::Color *color =
+ const gcn::Color *const color =
&Theme::getThemeColor(Theme::BUBBLE_NAME));
/**
* Sets the text to be displayed.
*/
- void setText(const std::string &text, bool showName = true);
+ void setText(const std::string &text, const bool showName = true);
private:
std::string mText;