summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-05 18:40:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-05 18:40:31 +0300
commite6d251345a48108495d39d82b0ec79deac63d86d (patch)
treee7a8ecf138b30b091146f51e1b13f0e0e7c0359b /src/net/ea
parent71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (diff)
downloadmanaplus-e6d251345a48108495d39d82b0ec79deac63d86d.tar.gz
manaplus-e6d251345a48108495d39d82b0ec79deac63d86d.tar.bz2
manaplus-e6d251345a48108495d39d82b0ec79deac63d86d.tar.xz
manaplus-e6d251345a48108495d39d82b0ec79deac63d86d.zip
Add strong typed bool type in OkDialog.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverhandler.cpp4
-rw-r--r--src/net/ea/gamehandler.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index e7e99af8b..6348b5dc5 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -143,7 +143,7 @@ void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg)
_("OK"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
if (mCharCreateDialog)
@@ -165,7 +165,7 @@ void CharServerHandler::processCharDelete(Net::MessageIn &msg A_UNUSED)
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
BLOCK_END("CharServerHandler::processCharDelete")
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 000d9e8ad..9c100de00 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -83,7 +83,7 @@ void GameHandler::processMapQuitResponse(Net::MessageIn &msg)
_("OK"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}