1
0
Fork 0

Merge pull request #3705 from zhaowenlan1779/multiplayer-fix

citra_qt: multiplayer password dialog fix
This commit is contained in:
James Rowe 2018-05-02 09:17:33 -06:00 committed by GitHub
commit ca3b82caa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -70,9 +70,8 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
QString Lobby::PasswordPrompt() { QString Lobby::PasswordPrompt() {
bool ok; bool ok;
const QString text = const QString text = QInputDialog::getText(this, tr("Password Required to Join"),
QInputDialog::getText(this, tr("Password Required to Join"), tr("Password:"), tr("Password:"), QLineEdit::Password, "", &ok);
QLineEdit::Normal, tr("Password"), &ok);
return ok ? text : QString(); return ok ? text : QString();
} }