From 396b3e298b21677ebe3c6f5c2f5b837ac25625f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 17:21:24 +0300 Subject: Move dialog type into separate file. --- src/net/ea/gamehandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net/ea/gamehandler.cpp') diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index b0be76ac6..3d7da6247 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -85,7 +85,10 @@ void GameHandler::processCharSwitchResponse(Net::MessageIn &msg) const void GameHandler::processMapQuitResponse(Net::MessageIn &msg) const { if (msg.readInt8()) - new OkDialog(_("Game"), _("Request to quit denied!"), DIALOG_ERROR); + { + new OkDialog(_("Game"), _("Request to quit denied!"), + DialogType::ERROR); + } } void GameHandler::clear() -- cgit v1.2.3-70-g09d2