Browse Source

Don't forget to start "watch timer"

adaptive-webui-19844
Vladimir Golovnev (Glassez) 3 years ago committed by Vladimir Golovnev
parent
commit
d2f975a0f3
  1. 9
      src/base/torrentfileswatcher.cpp

9
src/base/torrentfileswatcher.cpp

@ -601,13 +601,10 @@ void TorrentFilesWatcher::Worker::addWatchedFolder(const QString &path, const To
{ {
#if !defined Q_OS_HAIKU #if !defined Q_OS_HAIKU
// Check if the path points to a network file system or not // Check if the path points to a network file system or not
if (Utils::Fs::isNetworkFileSystem(path)) if (Utils::Fs::isNetworkFileSystem(path) || options.recursive)
{ #else
m_watchedByTimeoutFolders.insert(path);
}
else
#endif
if (options.recursive) if (options.recursive)
#endif
{ {
m_watchedByTimeoutFolders.insert(path); m_watchedByTimeoutFolders.insert(path);
if (!m_watchTimer->isActive()) if (!m_watchTimer->isActive())

Loading…
Cancel
Save