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:
dsimakov 2015-03-18 17:25:25 +04:00 committed by sledgehammer999
parent 84f6a82d98
commit 1f17a7836d
8 changed files with 3519 additions and 11 deletions

View file

@ -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: