diff options
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; |