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
b909047a
Commit
b909047a
authored
Feb 07, 2013
by
Chris Hansen
Browse files
Added some paranthases to supress compiler warnings
parent
9f13254d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabasemodel.cpp
View file @
b909047a
...
@@ -117,7 +117,7 @@ bool CardDatabaseDisplayModel::filterAcceptsRow(int sourceRow, const QModelIndex
...
@@ -117,7 +117,7 @@ bool CardDatabaseDisplayModel::filterAcceptsRow(int sourceRow, const QModelIndex
{
{
CardInfo
const
*
info
=
static_cast
<
CardDatabaseModel
*>
(
sourceModel
())
->
getCard
(
sourceRow
);
CardInfo
const
*
info
=
static_cast
<
CardDatabaseModel
*>
(
sourceModel
())
->
getCard
(
sourceRow
);
if
(((
isToken
==
ShowTrue
)
&&
!
info
->
getIsToken
())
||
(
isToken
==
ShowFalse
)
&&
info
->
getIsToken
())
if
(((
isToken
==
ShowTrue
)
&&
!
info
->
getIsToken
())
||
(
(
isToken
==
ShowFalse
)
&&
info
->
getIsToken
())
)
return
false
;
return
false
;
if
(
!
cardNameBeginning
.
isEmpty
())
if
(
!
cardNameBeginning
.
isEmpty
())
...
...
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