mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Put temporary files in qbt own temp folder
This commit is contained in:
parent
e1727c9a6a
commit
9612a75faa
2 changed files with 3 additions and 2 deletions
|
@ -2300,7 +2300,7 @@ bool Session::loadMetadata(const MagnetUri &magnetUri)
|
|||
p.max_connections = maxConnectionsPerTorrent();
|
||||
p.max_uploads = maxUploadsPerTorrent();
|
||||
|
||||
QString savePath = QString("%1/%2").arg(QDir::tempPath(), hash);
|
||||
QString savePath = QString("%1/%2").arg(Utils::Fs::tempPath(), hash);
|
||||
p.save_path = Utils::Fs::toNativePath(savePath).toStdString();
|
||||
|
||||
// Forced start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue