mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -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
|
@ -515,11 +515,13 @@ void options_imp::loadOptions(){
|
|||
textSavePath->setText(settings.value(QString::fromUtf8("SavePath"), home+"qBT_dir").toString());
|
||||
if(settings.value(QString::fromUtf8("TempPathEnabled"), false).toBool()) {
|
||||
// enable
|
||||
checkTempFolder->setChecked(true);
|
||||
enableTempPathInput(2);
|
||||
} else {
|
||||
checkTempFolder->setChecked(false);
|
||||
enableTempPathInput(0);
|
||||
}
|
||||
textTempPath->setText(settings.value(QString::fromUtf8("TempPath"), home+"qBT_dir").toString());
|
||||
textTempPath->setText(settings.value(QString::fromUtf8("TempPath"), home+"qBT_dir"+QDir::separator()+"temp").toString());
|
||||
checkPreallocateAll->setChecked(settings.value(QString::fromUtf8("PreAllocation"), false).toBool());
|
||||
checkAdditionDialog->setChecked(settings.value(QString::fromUtf8("AdditionDialog"), true).toBool());
|
||||
checkStartPaused->setChecked(settings.value(QString::fromUtf8("StartInPause"), false).toBool());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue