mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Disable using Qt functions deprecated up to Qt 6.5
* Disable using Qt functions deprecated up to Qt 6.5 * Utilize QSet::removeIf() PR #19419.
This commit is contained in:
committed by
GitHub
parent
06581636a1
commit
33d767b765
@@ -1382,7 +1382,7 @@ void SessionImpl::processNextResumeData(ResumeSessionContext *context)
|
||||
}
|
||||
}
|
||||
|
||||
erase_if(resumeData.tags, [this, &torrentID](const QString &tag)
|
||||
std::erase_if(resumeData.tags, [this, &torrentID](const QString &tag)
|
||||
{
|
||||
if (hasTag(tag))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user