summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 04:11:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 04:11:24 +0300
commit98ed087de210f5a5a0979b0d60b6d4b21b24ba4c (patch)
treecff4b8c1a911ffb0acfde24f1bdd0fb25a25327b /src/net
parentc58b6c63c89e18a9feef819f584426d329ff38ac (diff)
downloadplus-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.gz
plus-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.bz2
plus-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.xz
plus-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.zip
Remove default parameters from confirmdialog.h
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/traderecv.cpp4
-rw-r--r--src/net/eathena/familyrecv.cpp4
2 files changed, 6 insertions, 2 deletions
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);
}
}