From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/textpopup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/textpopup.cpp') 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(); -- cgit v1.2.3-60-g2f50