mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
parent
9d90141c29
commit
073ca4267c
17 changed files with 188 additions and 77 deletions
|
@ -552,8 +552,11 @@ SessionImpl::SessionImpl(QObject *parent)
|
|||
}
|
||||
|
||||
const QStringList storedTags = m_storedTags.get();
|
||||
m_tags.insert(storedTags.cbegin(), storedTags.cend());
|
||||
std::erase_if(m_tags, [](const Tag &tag) { return !tag.isValid(); });
|
||||
for (const QString &tagStr : storedTags)
|
||||
{
|
||||
if (const Tag tag {tagStr}; tag.isValid())
|
||||
m_tags.insert(tag);
|
||||
}
|
||||
|
||||
updateSeedingLimitTimer();
|
||||
populateAdditionalTrackers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue