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
f1803fe8
Commit
f1803fe8
authored
Jan 02, 2015
by
Jeffrey Oliver
Browse files
Remove some debug.
parent
b1e5153e
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_filter_games.cpp
View file @
f1803fe8
#include
"dlg_filter_games.h"
#include
<QDebug>
#include
<QCheckBox>
#include
<QPushButton>
#include
<QLabel>
...
...
@@ -22,7 +21,6 @@ DlgFilterGames::DlgFilterGames(const QMap<int, QString> &_allGameTypes, const Ga
settings
.
beginGroup
(
"filter_games"
);
unavailableGamesVisibleCheckBox
=
new
QCheckBox
(
tr
(
"Show &unavailable games"
));
qDebug
()
<<
"getUnavailableGamesVisible() == "
<<
gamesProxyModel
->
getUnavailableGamesVisible
();
unavailableGamesVisibleCheckBox
->
setChecked
(
gamesProxyModel
->
getUnavailableGamesVisible
());
passwordProtectedGamesVisibleCheckBox
=
new
QCheckBox
(
tr
(
"Show &password protected games"
));
...
...
cockatrice/src/gameselector.cpp
View file @
f1803fe8
#include
<QDebug>
#include
<QTreeView>
#include
<QCheckBox>
#include
<QPushButton>
...
...
@@ -40,8 +39,6 @@ GameSelector::GameSelector(AbstractClient *_client, const TabSupervisor *_tabSup
gameListProxyModel
->
loadFilterParameters
(
gameTypeMap
);
qDebug
()
<<
"Check unavailable"
<<
gameListProxyModel
->
getUnavailableGamesVisible
();
// set the reset filter button enabled
#if QT_VERSION < 0x050000
...
...
@@ -95,7 +92,6 @@ void GameSelector::actSetFilter()
GameTypeMap
gameTypeMap
;
if
(
room
)
gameTypeMap
=
gameListModel
->
getGameTypes
().
value
(
room
->
getRoomId
());
qDebug
()
<<
"Check unavailable"
<<
gameListProxyModel
->
getUnavailableGamesVisible
();
DlgFilterGames
dlg
(
gameTypeMap
,
gameListProxyModel
,
this
);
if
(
!
dlg
.
exec
())
...
...
cockatrice/src/gamesmodel.cpp
View file @
f1803fe8
...
...
@@ -235,7 +235,6 @@ void GamesProxyModel::loadFilterParameters(const QMap<int, QString> &allGameType
settings
.
beginGroup
(
"filter_games"
);
unavailableGamesVisible
=
settings
.
value
(
"unavailable_games_visible"
,
false
).
toBool
();
qDebug
()
<<
"Load unavailable = "
<<
unavailableGamesVisible
;
passwordProtectedGamesVisible
=
settings
.
value
(
"password_protected_games_visible"
,
false
).
toBool
();
gameNameFilter
=
settings
.
value
(
"game_name_filter"
,
""
).
toString
();
creatorNameFilter
=
settings
.
value
(
"creator_name_filter"
,
""
).
toString
();
...
...
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