mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
committed by
GitHub
parent
9d6d3a30eb
commit
2a20764d39
@@ -563,6 +563,7 @@ void OptionsDialog::loadDownloadsTabOptions()
|
||||
|
||||
m_ui->checkPreallocateAll->setChecked(session->isPreallocationEnabled());
|
||||
m_ui->checkAppendqB->setChecked(session->isAppendExtensionEnabled());
|
||||
m_ui->checkUnwantedFolder->setChecked(session->isUnwantedFolderEnabled());
|
||||
m_ui->checkRecursiveDownload->setChecked(pref->isRecursiveDownloadEnabled());
|
||||
|
||||
m_ui->comboSavingMode->setCurrentIndex(!session->isAutoTMMDisabledByDefault());
|
||||
@@ -666,6 +667,7 @@ void OptionsDialog::loadDownloadsTabOptions()
|
||||
|
||||
connect(m_ui->checkPreallocateAll, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
||||
connect(m_ui->checkAppendqB, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
||||
connect(m_ui->checkUnwantedFolder, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
||||
connect(m_ui->checkRecursiveDownload, &QAbstractButton::toggled, this, &ThisType::enableApplyButton);
|
||||
|
||||
connect(m_ui->comboSavingMode, qComboBoxCurrentIndexChanged, this, &ThisType::enableApplyButton);
|
||||
@@ -732,6 +734,7 @@ void OptionsDialog::saveDownloadsTabOptions() const
|
||||
|
||||
session->setPreallocationEnabled(preAllocateAllFiles());
|
||||
session->setAppendExtensionEnabled(m_ui->checkAppendqB->isChecked());
|
||||
session->setUnwantedFolderEnabled(m_ui->checkUnwantedFolder->isChecked());
|
||||
pref->setRecursiveDownloadEnabled(m_ui->checkRecursiveDownload->isChecked());
|
||||
|
||||
session->setAutoTMMDisabledByDefault(m_ui->comboSavingMode->currentIndex() == 0);
|
||||
|
||||
@@ -1094,6 +1094,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkUnwantedFolder">
|
||||
<property name="text">
|
||||
<string>Keep unselected files in ".unwanted" folder</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkRecursiveDownload">
|
||||
<property name="toolTip">
|
||||
@@ -3906,6 +3913,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
|
||||
<tabstop>checkUseDownloadPath</tabstop>
|
||||
<tabstop>textDownloadPath</tabstop>
|
||||
<tabstop>checkAppendqB</tabstop>
|
||||
<tabstop>checkUnwantedFolder</tabstop>
|
||||
<tabstop>scanFoldersView</tabstop>
|
||||
<tabstop>addWatchedFolderButton</tabstop>
|
||||
<tabstop>editWatchedFolderButton</tabstop>
|
||||
|
||||
Reference in New Issue
Block a user