|
|
@ -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::Password, "", &ok);
|
|
|
|
|
|
|
|
return ok ? text : QString();
|
|
|
|
return ok ? text : QString();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|