mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
- Allow to define a temporary download folder
This commit is contained in:
parent
273526b414
commit
f4502367f3
6 changed files with 52 additions and 4 deletions
|
@ -945,6 +945,11 @@ void GUI::configureSession(bool deleteOptions) {
|
|||
// Downloads
|
||||
// * Save path
|
||||
BTSession->setDefaultSavePath(options->getSavePath());
|
||||
if(options->isTempPathEnabled()) {
|
||||
BTSession->setDefaultTempPath(options->getTempPath());
|
||||
} else {
|
||||
BTSession->setDefaultTempPath(QString::null);
|
||||
}
|
||||
BTSession->preAllocateAllFiles(options->preAllocateAllFiles());
|
||||
BTSession->startTorrentsInPause(options->addTorrentsInPause());
|
||||
// * Scan dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue