mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- FEATURE: Allow to customize folder scan interval
This commit is contained in:
parent
d26bebfbe2
commit
fc931d8c88
7 changed files with 111 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue