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
3cea29e3
Commit
3cea29e3
authored
Mar 18, 2015
by
Gavin Bisesi
Browse files
Merge pull request #849 from poixen/filter_fix
Fix for filter
parents
4d825fff
5218e2f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/filtertree.cpp
View file @
3cea29e3
...
@@ -202,8 +202,8 @@ bool FilterItem::acceptSet(const CardInfo *info) const
...
@@ -202,8 +202,8 @@ bool FilterItem::acceptSet(const CardInfo *info) const
status
=
false
;
status
=
false
;
for
(
i
=
info
->
getSets
().
constBegin
();
i
!=
info
->
getSets
().
constEnd
();
i
++
)
for
(
i
=
info
->
getSets
().
constBegin
();
i
!=
info
->
getSets
().
constEnd
();
i
++
)
if
((
*
i
)
->
getShortName
()
==
term
if
((
*
i
)
->
getShortName
()
.
compare
(
term
,
Qt
::
CaseInsensitive
)
==
0
||
(
*
i
)
->
getLongName
().
co
ntains
(
term
,
Qt
::
CaseInsensitive
))
{
||
(
*
i
)
->
getLongName
().
co
mpare
(
term
,
Qt
::
CaseInsensitive
)
==
0
)
{
status
=
true
;
status
=
true
;
break
;
break
;
}
}
...
...
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