mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Disable scan folder preferences in Web UI (for now) since it was broken by "multipleScanFolders" patch
This commit is contained in:
@@ -231,8 +231,9 @@ QVariantMap EventManager::getGlobalPreferences() const {
|
||||
data["save_path"] = Preferences::getSavePath();
|
||||
data["temp_path_enabled"] = Preferences::isTempPathEnabled();
|
||||
data["temp_path"] = Preferences::getTempPath();
|
||||
data["scan_dirs"] = Preferences::getScanDirs();
|
||||
data["download_in_scan_dirs"] = Preferences::getDownloadInScanDirs();
|
||||
// XXX: json.h does not encode QStringList correctly
|
||||
//data["scan_dirs"] = Preferences::getScanDirs();
|
||||
//data["download_in_scan_dirs"] = Preferences::getDownloadInScanDirs();
|
||||
data["export_dir_enabled"] = Preferences::isTorrentExportEnabled();
|
||||
data["export_dir"] = Preferences::getExportDir();
|
||||
data["preallocate_all"] = Preferences::preAllocateAllFiles();
|
||||
|
||||
Reference in New Issue
Block a user