mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
fix buddy checkbox bug (#2434)
This commit is contained in:
parent
b8334d0cd5
commit
6619612c30
3 changed files with 4 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ QVariant GamesModel::data(const QModelIndex &index, int role) const
|
|||
{
|
||||
result.append(" (").append(tr("can see hands")).append(")");
|
||||
}
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
return QVariant(tr("not allowed"));
|
||||
|
|
@ -228,6 +228,7 @@ void GamesModel::updateGameList(const ServerInfo_Game &game)
|
|||
GamesProxyModel::GamesProxyModel(QObject *parent, ServerInfo_User *_ownUser)
|
||||
: QSortFilterProxyModel(parent),
|
||||
ownUser(_ownUser),
|
||||
showBuddiesOnlyGames(false),
|
||||
unavailableGamesVisible(false),
|
||||
showPasswordProtectedGames(true),
|
||||
maxPlayersFilterMin(-1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue