mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Put temp files in .qBittorrent directory. Closes #4462.
This commit is contained in:
parent
d84461c9b2
commit
cffa729ac5
5 changed files with 12 additions and 2 deletions
|
@ -518,3 +518,10 @@ QString Utils::Fs::cacheLocation()
|
|||
locationDir.mkpath(locationDir.absolutePath());
|
||||
return location;
|
||||
}
|
||||
|
||||
QString Utils::Fs::tempPath()
|
||||
{
|
||||
static const QString path = QDir::tempPath() + "/.qBittorrent/";
|
||||
QDir().mkdir(path);
|
||||
return path;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue