citra_qt: multiplayer password dialog fix

This commit is contained in:
zhupengfei 2018-05-01 11:15:31 +08:00
parent 9c65a45358
commit 784c41bf34
No known key found for this signature in database
GPG Key ID: 85B82A3E62174206

View File

@ -72,7 +72,7 @@ QString Lobby::PasswordPrompt() {
bool ok; bool ok;
const QString text = const QString text =
QInputDialog::getText(this, tr("Password Required to Join"), tr("Password:"), QInputDialog::getText(this, tr("Password Required to Join"), tr("Password:"),
QLineEdit::Normal, tr("Password"), &ok); QLineEdit::Password, "", &ok);
return ok ? text : QString(); return ok ? text : QString();
} }