- FEATURE: Allow to customize folder scan interval

This commit is contained in:
Christophe Dumez 2008-05-18 08:40:39 +00:00
parent d26bebfbe2
commit fc931d8c88
7 changed files with 111 additions and 46 deletions

View file

@ -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