Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
212c58f9
Commit
212c58f9
authored
Mar 30, 2012
by
Max-Wilhelm Bruker
Browse files
check 'show unavailable games' by default in ShowGamesOfUser dialog
parent
6b14b4e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_filter_games.cpp
View file @
212c58f9
...
...
@@ -17,9 +17,11 @@ DlgFilterGames::DlgFilterGames(const QMap<int, QString> &allGameTypes, QWidget *
QLabel
*
gameNameFilterLabel
=
new
QLabel
(
tr
(
"Game &description:"
));
gameNameFilterEdit
=
new
QLineEdit
;
gameNameFilterLabel
->
setBuddy
(
gameNameFilterEdit
);
QLabel
*
creatorNameFilterLabel
=
new
QLabel
(
tr
(
"&Creator name:"
));
creatorNameFilterEdit
=
new
QLineEdit
;
creatorNameFilterLabel
->
setBuddy
(
creatorNameFilterEdit
);
QVBoxLayout
*
gameTypeFilterLayout
=
new
QVBoxLayout
;
QMapIterator
<
int
,
QString
>
gameTypesIterator
(
allGameTypes
);
...
...
cockatrice/src/gameselector.cpp
View file @
212c58f9
...
...
@@ -31,6 +31,8 @@ GameSelector::GameSelector(AbstractClient *_client, TabSupervisor *_tabSuperviso
gameListView
->
setRootIsDecorated
(
true
);
if
(
_room
)
gameListView
->
header
()
->
hideSection
(
1
);
else
gameListProxyModel
->
setUnavailableGamesVisible
(
true
);
gameListView
->
header
()
->
setResizeMode
(
1
,
QHeaderView
::
ResizeToContents
);
filterButton
=
new
QPushButton
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment