mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- FEATURE: Allow to customize folder scan interval
This commit is contained in:
@@ -849,6 +849,8 @@ void GUI::configureSession(bool deleteOptions) {
|
||||
if(options->getScanDir().isNull()) {
|
||||
BTSession->disableDirectoryScanning();
|
||||
}else{
|
||||
//Interval first
|
||||
BTSession->setTimerScanInterval(options->getFolderScanInterval());
|
||||
BTSession->enableDirectoryScanning(options->getScanDir());
|
||||
}
|
||||
// Connection
|
||||
|
||||
Reference in New Issue
Block a user