Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly apply filename filter when !qB extension is enabled #21628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glassez
Copy link
Member

@glassez glassez commented Oct 17, 2024

Closes #21624.

@glassez glassez added the Core label Oct 17, 2024
@glassez glassez added this to the 5.0.1 milestone Oct 17, 2024
@glassez glassez requested a review from a team October 17, 2024 10:20
Q_ASSERT(addTorrentParams.filePriorities.isEmpty() || (addTorrentParams.filePriorities.size() == nativeIndexes.size()));
QList<DownloadPriority> filePriorities = addTorrentParams.filePriorities;

// Filename filter should be applied before `findIncompleteFiles()` is called.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, this is not required, since findIncompleteFiles() is executed asynchronously. But it's still more logical to have them in that order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Excluded file names" setting not working in v5.0
3 participants