mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
1. In option window add column 'download path' for watched folders and enlarge heigth.
2. Change logic checkbox in column 'download here': if it checked, then torrent file will download to watchdir, if state is unchecked, will be use download path from next column.
This commit is contained in:
parent
84f6a82d98
commit
1f17a7836d
8 changed files with 3519 additions and 11 deletions
|
@ -1202,7 +1202,7 @@ void options_imp::on_addScanFolderButton_clicked()
|
|||
const QString dir = QFileDialog::getExistingDirectory(this, tr("Add directory to scan"),
|
||||
Utils::Fs::toNativePath(Utils::Fs::folderName(pref->getScanDirsLastPath())));
|
||||
if (!dir.isEmpty()) {
|
||||
const ScanFoldersModel::PathStatus status = ScanFoldersModel::instance()->addPath(dir, false);
|
||||
const ScanFoldersModel::PathStatus status = ScanFoldersModel::instance()->addPath(dir, true, "");
|
||||
QString error;
|
||||
switch (status) {
|
||||
case ScanFoldersModel::AlreadyInList:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue