mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-25 12:46:42 +00:00
Merge pull request #3705 from zhaowenlan1779/multiplayer-fix
citra_qt: multiplayer password dialog fix
This commit is contained in:
commit
ca3b82caa4
|
@ -70,9 +70,8 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
|
|||
|
||||
QString Lobby::PasswordPrompt() {
|
||||
bool ok;
|
||||
const QString text =
|
||||
QInputDialog::getText(this, tr("Password Required to Join"), tr("Password:"),
|
||||
QLineEdit::Normal, tr("Password"), &ok);
|
||||
const QString text = QInputDialog::getText(this, tr("Password Required to Join"),
|
||||
tr("Password:"), QLineEdit::Password, "", &ok);
|
||||
return ok ? text : QString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue