summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-05 18:29:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-05 18:29:07 +0300
commit71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch)
tree3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/net/ea
parent45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff)
downloadplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz
plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2
plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz
plus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverhandler.cpp10
-rw-r--r--src/net/ea/gamehandler.cpp5
2 files changed, 12 insertions, 3 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 0d7117a21..e7e99af8b 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -142,7 +142,10 @@ void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
if (mCharCreateDialog)
mCharCreateDialog->unlock();
BLOCK_END("CharServerHandler::processCharCreateFailed")
@@ -161,7 +164,10 @@ void CharServerHandler::processCharDelete(Net::MessageIn &msg A_UNUSED)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
BLOCK_END("CharServerHandler::processCharDelete")
}
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 609132959..000d9e8ad 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -82,7 +82,10 @@ void GameHandler::processMapQuitResponse(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
}