diff options
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(); |