Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Parley
Commits
4496aaff
Commit
4496aaff
authored
Aug 29, 2021
by
Andreas Cord-Landwehr
Browse files
Port away from QList::toSet()
parent
c2c51a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/collection/entryfilter.cpp
View file @
4496aaff
...
...
@@ -215,7 +215,8 @@ void EntryFilter::expireEntries(int setNo)
void
EntryFilter
::
collectEntries
(
int
setNo
)
{
// Set up the lists/sets of filtered vocabulary
m_entries
[
setNo
]
=
m_doc
->
lesson
()
->
entries
(
KEduVocLesson
::
Recursive
).
toSet
();
QList
<
KEduVocExpression
*>
entries
=
m_doc
->
lesson
()
->
entries
(
KEduVocLesson
::
Recursive
);
m_entries
[
setNo
]
=
QSet
<
KEduVocExpression
*>
(
entries
.
cbegin
(),
entries
.
cend
());
cleanupInvalid
(
setNo
);
// FIXME the filtering needs to be done for each word or the grammar modes get included with written or somesuch
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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