don't show 'no password for spectators' when spectating is disallowed, fixing issue #26
This commit is contained in:
parent
b2b7242802
commit
deaebddb0b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ QVariant GamesModel::data(const QModelIndex &index, int role) const
|
|||
result.append(gameTypeMap.value(g.game_types(i)));
|
||||
return result.join(", ");
|
||||
}
|
||||
case 4: return g.with_password() ? (g.spectators_need_password() ? tr("yes") : tr("yes, free for spectators")) : tr("no");
|
||||
case 4: return g.with_password() ? ((g.spectators_need_password() || !g.spectators_allowed()) ? tr("yes") : tr("yes, free for spectators")) : tr("no");
|
||||
case 5: {
|
||||
QStringList result;
|
||||
if (g.only_buddies())
|
||||
|
|
Loading…
Reference in a new issue