From 49965a6282c0f8273ba30ddc48d877334c39bd2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:13:40 +0300 Subject: move virtual member calls from listbox constuctor into postInit. --- src/gui/windows/worldselectdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows/worldselectdialog.cpp') diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index bd46df9a1..3d9581164 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -91,6 +91,7 @@ WorldSelectDialog::WorldSelectDialog(Worlds worlds): // TRANSLATORS: world dialog button mChooseWorld(new Button(this, _("Choose World"), "world", this)) { + mWorldList->postInit(); ScrollArea *const worldsScroll = new ScrollArea(mWorldList, getOptionBool("showbackground"), "world_background.xml"); -- cgit v1.2.3-70-g09d2