summaryrefslogtreecommitdiff
path: root/src/net
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
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')
-rw-r--r--src/net/ea/charserverhandler.cpp4
-rw-r--r--src/net/ea/gamehandler.cpp2
-rw-r--r--src/net/eathena/charserverhandler.cpp8
-rw-r--r--src/net/tmwa/charserverhandler.cpp2
4 files changed, 8 insertions, 8 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);
}
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 8ff7d4b1a..f3ce778cf 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -579,7 +579,7 @@ void CharServerHandler::processCharCheckRename(Net::MessageIn &msg)
_("Error"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -597,7 +597,7 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg)
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -630,7 +630,7 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg)
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}
@@ -663,7 +663,7 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg)
_("OK"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
BLOCK_END("CharServerHandler::processCharDeleteFailed")
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index 6a647fcac..b33e0e4e2 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -523,7 +523,7 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg)
_("OK"),
DialogType::ERROR,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
BLOCK_END("CharServerHandler::processCharDeleteFailed")