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

@ -502,6 +502,16 @@ QList<bool> Preferences::getDownloadInScanDirs() const
return Utils::Misc::boolListfromStringList(value("Preferences/Downloads/DownloadInScanDirs").toStringList());
}
void Preferences::setDownloadPathsInScanDir(const QStringList &downloadpaths)
{
setValue(QString::fromUtf8("Preferences/Downloads/DownloadPaths"), downloadpaths);
}
QStringList Preferences::getDownloadPathsInScanDir() const
{
return value(QString::fromUtf8("Preferences/Downloads/DownloadPaths"), QStringList()).toStringList();
}
void Preferences::setDownloadInScanDirs(const QList<bool> &list)
{
setValue("Preferences/Downloads/DownloadInScanDirs", Utils::Misc::toStringList(list));