From d2f975a0f3a951f0150eccc34ed07693721b2b6e Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Mon, 28 Jun 2021 14:48:17 +0300 Subject: [PATCH] Don't forget to start "watch timer" --- src/base/torrentfileswatcher.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/base/torrentfileswatcher.cpp b/src/base/torrentfileswatcher.cpp index 495d8d657..2a0d63917 100644 --- a/src/base/torrentfileswatcher.cpp +++ b/src/base/torrentfileswatcher.cpp @@ -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())