citra_qt/multiplayer: retranslate multiplayer dialogs

This commit is contained in:
zhupengfei 2018-10-09 23:08:33 +08:00
parent f405134913
commit 748a9849ec
No known key found for this signature in database
GPG key ID: DD129E108BD09378
11 changed files with 39 additions and 0 deletions

View file

@ -73,6 +73,10 @@ HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
HostRoomWindow::~HostRoomWindow() = default;
void HostRoomWindow::RetranslateUi() {
ui->retranslateUi(this);
}
void HostRoomWindow::Host() {
if (!ui->username->hasAcceptableInput()) {
NetworkMessage::ShowError(NetworkMessage::USERNAME_NOT_VALID);