diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 21:26:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 21:26:04 +0300 |
commit | e21479ccc48ed8383a6ab72f45c43e12e8dffa69 (patch) | |
tree | 2882139edd93b0e3ae72fc541b366ed7246e46b2 /src/client.cpp | |
parent | 506a064c94e44d4f896fa9b2dc74d30e7f7f8c33 (diff) | |
download | manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.gz manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.bz2 manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.xz manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.zip |
Remove default values from okdialog constructor.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index c52468563..04b8746b2 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1383,7 +1383,8 @@ int Client::gameExec() logger->log1("State: LOGIN ERROR"); // TRANSLATORS: error dialog header mCurrentDialog = new OkDialog(_("Error"), - errorMessage, DialogType::ERROR); + errorMessage, DialogType::ERROR, + true, true, nullptr, 260); mCurrentDialog->addActionListener(&loginListener); mCurrentDialog = nullptr; // OkDialog deletes itself BLOCK_END("Client::gameExec STATE_LOGIN_ERROR") @@ -1394,7 +1395,8 @@ int Client::gameExec() logger->log1("State: ACCOUNT CHANGE ERROR"); // TRANSLATORS: error dialog header mCurrentDialog = new OkDialog(_("Error"), - errorMessage, DialogType::ERROR); + errorMessage, DialogType::ERROR, + true, true, nullptr, 260); mCurrentDialog->addActionListener(&accountListener); mCurrentDialog = nullptr; // OkDialog deletes itself BLOCK_END("Client::gameExec STATE_ACCOUNTCHANGE_ERROR") @@ -1449,7 +1451,7 @@ int Client::gameExec() mCurrentDialog = new OkDialog(_("Password Change"), // TRANSLATORS: password change message text _("Password changed successfully!"), - DialogType::ERROR); + DialogType::ERROR, true, true, nullptr, 260); mCurrentDialog->addActionListener(&accountListener); mCurrentDialog = nullptr; // OkDialog deletes itself loginData.password = loginData.newPassword; @@ -1473,7 +1475,8 @@ int Client::gameExec() // TRANSLATORS: email change message header mCurrentDialog = new OkDialog(_("Email Change"), // TRANSLATORS: email change message text - _("Email changed successfully!"), DialogType::ERROR); + _("Email changed successfully!"), DialogType::ERROR, + true, true, nullptr, 260); mCurrentDialog->addActionListener(&accountListener); mCurrentDialog = nullptr; // OkDialog deletes itself break; |