diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/net/eathena/charserverhandler.cpp | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index f1893e4b5..8ff7d4b1a 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -578,7 +578,10 @@ void CharServerHandler::processCharCheckRename(Net::MessageIn &msg) // TRANSLATORS: ok dialog button _("Error"), DialogType::ERROR, - true, true, nullptr, 260); + Modal_true, + true, + nullptr, + 260); } } @@ -593,7 +596,10 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg) // TRANSLATORS: ok dialog button _("OK"), DialogType::OK, - true, true, nullptr, 260); + Modal_true, + true, + nullptr, + 260); } else { @@ -623,7 +629,10 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg) // TRANSLATORS: ok dialog button _("OK"), DialogType::OK, - true, true, nullptr, 260); + Modal_true, + true, + nullptr, + 260); } } @@ -653,7 +662,10 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg) // TRANSLATORS: ok dialog button _("OK"), DialogType::ERROR, - true, true, nullptr, 260); + Modal_true, + true, + nullptr, + 260); BLOCK_END("CharServerHandler::processCharDeleteFailed") } |