mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Don't forget to start "watch timer"
This commit is contained in:
parent
eedd47860a
commit
d2f975a0f3
1 changed files with 3 additions and 6 deletions
|
@ -601,13 +601,10 @@ void TorrentFilesWatcher::Worker::addWatchedFolder(const QString &path, const To
|
|||
{
|
||||
#if !defined Q_OS_HAIKU
|
||||
// Check if the path points to a network file system or not
|
||||
if (Utils::Fs::isNetworkFileSystem(path))
|
||||
{
|
||||
m_watchedByTimeoutFolders.insert(path);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (Utils::Fs::isNetworkFileSystem(path) || options.recursive)
|
||||
#else
|
||||
if (options.recursive)
|
||||
#endif
|
||||
{
|
||||
m_watchedByTimeoutFolders.insert(path);
|
||||
if (!m_watchTimer->isActive())
|
||||
|
|
Loading…
Reference in a new issue