mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
Revamp content layout handling
Apply content layout only if desired file names aren't provided. Remove helpers with confusing signatures. Don't remove root folder twice. PR #16724. Closes #16259.
This commit is contained in:
committed by
GitHub
parent
eecd221d40
commit
df2d449f9b
@@ -51,7 +51,4 @@ namespace BitTorrent
|
||||
|
||||
Q_ENUM_NS(TorrentContentLayout)
|
||||
}
|
||||
|
||||
TorrentContentLayout detectContentLayout(const PathList &filePaths);
|
||||
void applyContentLayout(PathList &filePaths, TorrentContentLayout contentLayout, const Path &rootFolder = {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user