From 6438e784344924eb9ace561ec7fcc2b723dcb0dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 12:22:01 +0300 Subject: move virtual member calls from equipmentwindow constuctor into postInit. --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 7b65147e4..3e2b1859d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -212,7 +212,9 @@ static void createGuiWindows() tradeWindow = new TradeWindow; equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment(), player_node); + equipmentWindow->postInit(); beingEquipmentWindow = new EquipmentWindow(nullptr, nullptr, true); + beingEquipmentWindow->postInit(); beingEquipmentWindow->setVisible(false); statusWindow = new StatusWindow; miniStatusWindow = new MiniStatusWindow; -- cgit v1.2.3-60-g2f50