Added back folder watching in Web UI

This commit is contained in:
Christophe Dumez 2010-03-18 19:25:16 +00:00
parent 165b33a94e
commit 912056a364
6 changed files with 138 additions and 31 deletions

View file

@ -197,6 +197,10 @@ void Bittorrent::preAllocateAllFiles(bool b) {
}
}
ScanFoldersModel* Bittorrent::getScanFoldersModel() const {
return m_scanFolders;
}
void Bittorrent::deleteBigRatios() {
if(ratio_limit == -1) return;
std::vector<torrent_handle> torrents = getTorrents();