summaryrefslogtreecommitdiff
path: root/src/net/ea/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 23:53:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:18 +0300
commit649348f19cdb3d65f825a2a3270b185fc9d83c75 (patch)
tree3a31f64178d266383899c67782843736578e580e /src/net/ea/tradehandler.cpp
parent0c6d457fe227ba9fd0a7c4c51cc2eb5995ca2c19 (diff)
downloadmanaplus-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.gz
manaplus-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.bz2
manaplus-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.xz
manaplus-649348f19cdb3d65f825a2a3270b185fc9d83c75.zip
move virtual member calls from confirmdialog constuctor into postInit.
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r--src/net/ea/tradehandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index eb0441a19..85c33076a 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -107,6 +107,7 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
strprintf(_("%s wants to trade with you, do"
" you accept?"), tradePartnerName.c_str()),
SOUND_REQUEST, true);
+ confirmDlg->postInit();
confirmDlg->addActionListener(&listener);
}
else