diff options
Diffstat (limited to 'src/gui/speechbubble.cpp')
-rw-r--r-- | src/gui/speechbubble.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 31877f310..fc820793c 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -33,17 +33,16 @@ #include "debug.h" -SpeechBubble::SpeechBubble(): - Popup("Speech", "speechbubble.xml") +SpeechBubble::SpeechBubble() : + Popup("Speech", "speechbubble.xml"), + mCaption(new Label), + mSpeechBox(new TextBox) { setContentSize(140, 46); setMinWidth(29); setMinHeight(29); - mCaption = new Label; mCaption->setFont(boldFont); - - mSpeechBox = new TextBox; mSpeechBox->setEditable(false); mSpeechBox->setOpaque(false); mSpeechBox->setTextColor(&Theme::getThemeColor(Theme::BUBBLE_TEXT)); |