From e4d34f9e3f5b2068be1a8137c75a571e9da42cda Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 12:50:59 +0300 Subject: move virtual member calls from textpopup constructor into postInit. --- src/gui/widgets/characterdisplay.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/characterdisplay.cpp') diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp index 9d409a6bb..fb2ec9e2f 100644 --- a/src/gui/widgets/characterdisplay.cpp +++ b/src/gui/widgets/characterdisplay.cpp @@ -47,6 +47,8 @@ CharacterDisplay::CharacterDisplay(const Widget2 *const widget, mName(new Label(this, "wwwwwwwwwwwwwwwwwwwwwwww")), mPopup(new TextPopup) { + mPopup->postInit(); + mPlayerBox->setActionEventId("select"); mPlayerBox->addActionListener(charSelectDialog); setActionEventId("use"); -- cgit v1.2.3-70-g09d2