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
134810b9
Commit
134810b9
authored
Aug 11, 2014
by
Gavin Bisesi
Browse files
Merge pull request #279 from ctrlaltca/valgrind_unified
Fixed Valgrind warnings
parents
5c46cfc1
1da2e715
Changes
5
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/gamesmodel.cpp
View file @
134810b9
...
...
@@ -93,6 +93,7 @@ GamesProxyModel::GamesProxyModel(QObject *parent, ServerInfo_User *_ownUser)
:
QSortFilterProxyModel
(
parent
),
ownUser
(
_ownUser
),
unavailableGamesVisible
(
false
),
passwordProtectedGamesVisible
(
false
),
maxPlayersFilterMin
(
-
1
),
maxPlayersFilterMax
(
-
1
)
{
...
...
cockatrice/src/messagelogwidget.cpp
View file @
134810b9
...
...
@@ -876,6 +876,6 @@ void MessageLogWidget::connectToPlayer(Player *player)
}
MessageLogWidget
::
MessageLogWidget
(
const
TabSupervisor
*
_tabSupervisor
,
TabGame
*
_game
,
QWidget
*
parent
)
:
ChatView
(
_tabSupervisor
,
_game
,
false
,
parent
)
:
ChatView
(
_tabSupervisor
,
_game
,
false
,
parent
)
,
currentContext
(
MessageContext_None
)
{
}
cockatrice/src/phasestoolbar.cpp
View file @
134810b9
...
...
@@ -100,7 +100,7 @@ void PhaseButton::triggerDoubleClickAction()
}
PhasesToolbar
::
PhasesToolbar
(
QGraphicsItem
*
parent
)
:
QGraphicsItem
(
parent
),
width
(
100
),
height
(
100
)
:
QGraphicsItem
(
parent
),
width
(
100
),
height
(
100
)
,
ySpacing
(
1
),
symbolSize
(
8
)
{
QAction
*
aUntapAll
=
new
QAction
(
this
);
connect
(
aUntapAll
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
actUntapAll
()));
...
...
cockatrice/src/tab_game.cpp
View file @
134810b9
...
...
@@ -236,6 +236,7 @@ void DeckViewContainer::setDeck(const DeckLoader &deck)
TabGame
::
TabGame
(
TabSupervisor
*
_tabSupervisor
,
GameReplay
*
_replay
)
:
Tab
(
_tabSupervisor
),
secondsElapsed
(
0
),
hostId
(
-
1
),
localPlayerId
(
-
1
),
spectator
(
true
),
...
...
common/server_response_containers.cpp
View file @
134810b9
...
...
@@ -15,7 +15,7 @@ GameEventStorageItem::~GameEventStorageItem()
}
GameEventStorage
::
GameEventStorage
()
:
gameEventContext
(
0
)
:
gameEventContext
(
0
)
,
privatePlayerId
(
0
)
{
}
...
...
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