mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Use truncated torrent hash in temp path
This commit is contained in:
parent
850556fdfa
commit
b8c703b8b0
2 changed files with 3 additions and 2 deletions
|
@ -333,7 +333,9 @@ QString Session::tempPath() const
|
|||
|
||||
QString Session::torrentTempPath(const InfoHash &hash) const
|
||||
{
|
||||
return m_tempPath + QString(hash) + "/";
|
||||
return m_tempPath
|
||||
+ static_cast<QString>(hash).left(7)
|
||||
+ "/";
|
||||
}
|
||||
|
||||
bool Session::isValidCategoryName(const QString &name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue