From 98ed087de210f5a5a0979b0d60b6d4b21b24ba4c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 04:11:24 +0300 Subject: Remove default parameters from confirmdialog.h --- src/net/ea/traderecv.cpp | 4 +++- src/net/eathena/familyrecv.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/traderecv.cpp b/src/net/ea/traderecv.cpp index d47fc256b..bcae47af0 100644 --- a/src/net/ea/traderecv.cpp +++ b/src/net/ea/traderecv.cpp @@ -165,7 +165,9 @@ void TradeRecv::processTradeRequestContinue(const std::string &partner) strprintf(_("%s wants to trade with you, do" " you accept?"), tradePartnerName.c_str()), SOUND_REQUEST, - true); + true, + Modal_false, + nullptr); confirmDlg->addActionListener(&listener); } else diff --git a/src/net/eathena/familyrecv.cpp b/src/net/eathena/familyrecv.cpp index f9f7b2fd8..8c9d63b3e 100644 --- a/src/net/eathena/familyrecv.cpp +++ b/src/net/eathena/familyrecv.cpp @@ -75,7 +75,9 @@ void FamilyRecv::processAskForChild(Net::MessageIn &msg) strprintf(_("Do you accept %s and %s as parents?"), name1.c_str(), name2.c_str()), SOUND_REQUEST, - false); + false, + Modal_false, + nullptr); confirmDlg->addActionListener(&listener); } } -- cgit v1.2.3-70-g09d2