From d198ee97a5a60d7591fa3b41bd29db24b8cba3d9 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 99f9c8dae..ee44c5c3e 100644 --- a/src/base/torrentfileswatcher.cpp +++ b/src/base/torrentfileswatcher.cpp @@ -600,13 +600,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())