diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/speechbubble.cpp | 3 | ||||
-rw-r--r-- | src/gui/popups/speechbubble.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/popups/speechbubble.cpp b/src/gui/popups/speechbubble.cpp index 989ebb551..ad043b9bf 100644 --- a/src/gui/popups/speechbubble.cpp +++ b/src/gui/popups/speechbubble.cpp @@ -47,7 +47,10 @@ SpeechBubble::SpeechBubble() : mSpeechBox->setOpaque(false); mSpeechBox->setForegroundColorAll(getThemeColor(Theme::BUBBLE_TEXT), getThemeColor(Theme::BUBBLE_TEXT_OUTLINE)); +} +void SpeechBubble::postInit() +{ add(mCaption); add(mSpeechBox); } diff --git a/src/gui/popups/speechbubble.h b/src/gui/popups/speechbubble.h index 3753ee82d..3ea93fce0 100644 --- a/src/gui/popups/speechbubble.h +++ b/src/gui/popups/speechbubble.h @@ -41,6 +41,8 @@ class SpeechBubble final : public Popup A_DELETE_COPY(SpeechBubble) + void postInit(); + /** * Sets the name displayed for the speech bubble, and in what color. */ |