diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 00:03:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | e964cbb2e00121e9d4fea4a76a09e9af960ca56e (patch) | |
tree | 3389466c9e4f1f391f885ad3e0fc5fd5c4929bf9 /src/gui/popups/speechbubble.cpp | |
parent | 6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41 (diff) | |
download | manaplus-e964cbb2e00121e9d4fea4a76a09e9af960ca56e.tar.gz manaplus-e964cbb2e00121e9d4fea4a76a09e9af960ca56e.tar.bz2 manaplus-e964cbb2e00121e9d4fea4a76a09e9af960ca56e.tar.xz manaplus-e964cbb2e00121e9d4fea4a76a09e9af960ca56e.zip |
move virtual member calls from speechbubble constuctor into postInit.
Diffstat (limited to 'src/gui/popups/speechbubble.cpp')
-rw-r--r-- | src/gui/popups/speechbubble.cpp | 3 |
1 files changed, 3 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); } |