Fixed Valgrind warnings

Running cockatrice in valgrind i didn't found any bad memory leak
(good!), but only a few jumps depending on uninitialized variables.
Even if the possibility of crashes are remote, it's nice to sort them
out.
This commit is contained in:
Fabio Bas 2014-08-11 10:08:33 +02:00
parent 8b32a1010a
commit 1da2e7154c
5 changed files with 5 additions and 3 deletions

View file

@ -93,6 +93,7 @@ GamesProxyModel::GamesProxyModel(QObject *parent, ServerInfo_User *_ownUser)
: QSortFilterProxyModel(parent),
ownUser(_ownUser),
unavailableGamesVisible(false),
passwordProtectedGamesVisible(false),
maxPlayersFilterMin(-1),
maxPlayersFilterMax(-1)
{