Remove some debug.
This commit is contained in:
parent
b1e5153ea5
commit
f1803fe879
3 changed files with 0 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
|||
#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"));
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#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())
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue