mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Merge branch 'master' into buildfix
This commit is contained in:
commit
c336648040
2 changed files with 5 additions and 0 deletions
|
@ -280,6 +280,7 @@ namespace np
|
|||
|
||||
switch (error)
|
||||
{
|
||||
case rpcn::ErrorType::NoError: break;
|
||||
case rpcn::ErrorType::RoomMissing: error_code = SCE_NP_MATCHING_SERVER_ERROR_NO_SUCH_ROOM; break;
|
||||
default: fmt::throw_exception("Unexpected error in LeaveRoomGUI reply: %d", static_cast<u8>(error));
|
||||
}
|
||||
|
@ -489,6 +490,7 @@ namespace np
|
|||
|
||||
switch (error)
|
||||
{
|
||||
case rpcn::ErrorType::NoError: break;
|
||||
case rpcn::ErrorType::RoomMissing: error_code = SCE_NP_MATCHING_SERVER_ERROR_NO_SUCH_ROOM; break;
|
||||
case rpcn::ErrorType::Unauthorized: error_code = SCE_NP_MATCHING_SERVER_ERROR_NOT_ALLOWED; break;
|
||||
default: fmt::throw_exception("Unexpected error in SetRoomInfoGUI reply: %d", static_cast<u8>(error));
|
||||
|
@ -643,6 +645,7 @@ namespace np
|
|||
|
||||
switch (error)
|
||||
{
|
||||
case rpcn::ErrorType::NoError: break;
|
||||
case rpcn::ErrorType::NotFound: error_code = SCE_NP_MATCHING_ERROR_SEARCH_JOIN_ROOM_NOT_FOUND; break;
|
||||
default: fmt::throw_exception("Unexpected error in SearchJoinRoomGUI reply: %d", static_cast<u8>(error));
|
||||
}
|
||||
|
|
|
@ -884,6 +884,8 @@ void rpcn_account_edit_dialog::change_password()
|
|||
return;
|
||||
}
|
||||
|
||||
g_cfg_rpcn.set_password(*password);
|
||||
g_cfg_rpcn.save();
|
||||
QMessageBox::information(this, tr("Password Successfully Changed!"), tr("Your password has been successfully changed!"), QMessageBox::Ok);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue