mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Merge msvc fixes from stable branch
This commit is contained in:
@@ -288,13 +288,13 @@ void Bittorrent::configureSession() {
|
||||
startTorrentsInPause(Preferences::addTorrentsInPause());
|
||||
// * Scan dirs
|
||||
const QStringList &scan_dirs = Preferences::getScanDirs();
|
||||
QVariantList downloadInDirList = Preferences::getDownloadInScanDirs();
|
||||
QList<bool> downloadInDirList = Preferences::getDownloadInScanDirs();
|
||||
while(scan_dirs.size() > downloadInDirList.size()) {
|
||||
downloadInDirList << QVariant(false);
|
||||
downloadInDirList << false;
|
||||
}
|
||||
int i = 0;
|
||||
foreach (const QString &dir, scan_dirs) {
|
||||
m_scanFolders->addPath(dir, downloadInDirList.at(i).toBool());
|
||||
m_scanFolders->addPath(dir, downloadInDirList.at(i));
|
||||
++i;
|
||||
}
|
||||
// * Export Dir
|
||||
|
||||
Reference in New Issue
Block a user