diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/textpopup.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/textpopup.cpp')
-rw-r--r-- | src/gui/textpopup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/textpopup.cpp b/src/gui/textpopup.cpp index ed3461685..876c85b78 100644 --- a/src/gui/textpopup.cpp +++ b/src/gui/textpopup.cpp @@ -40,9 +40,9 @@ TextPopup::TextPopup(): Popup("TextPopup", "textpopup.xml"), - mText1(new Label), - mText2(new Label), - mText3(new Label) + mText1(new Label(this)), + mText2(new Label(this)), + mText3(new Label(this)) { const int fontHeight = getFont()->getHeight(); |