Drop ".unwanted folder" feature

This commit is contained in:
Vladimir Golovnev (Glassez) 2020-05-11 19:08:27 +03:00
commit 6a0a78f3f7
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
8 changed files with 35 additions and 137 deletions

View file

@ -458,9 +458,6 @@ void TorrentContentModel::setupModelData(const BitTorrent::TorrentInfo &info)
pathFolders.removeLast();
for (const QStringRef &pathPartRef : asConst(pathFolders)) {
if (pathPartRef == QLatin1String(".unwanted"))
continue;
const QString pathPart = pathPartRef.toString();
TorrentContentModelFolder *newParent = currentParent->childFolderWithName(pathPart);
if (!newParent) {