Commit 38ffb81e authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Port from deprecated method

parent fdbb83f9
......@@ -512,7 +512,7 @@ void EntryFilter::cleanupInvalid(int setNo)
// Remove entries which don't have any of the tenses which are configured for practice
QSet<QString> practice_tenses = QSet<QString>::fromList(m_tenses);
QSet<QString> practice_tenses = QSet<QString>(m_tenses.begin(), m_tenses.end());
QSet<QString> existing_tenses;
foreach(const QString & tense, translation->conjugationTenses()) {
if (!translation->getConjugation(tense).isEmpty()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment