Don't forget to start "watch timer"

This commit is contained in:
Vladimir Golovnev (Glassez)
2021-06-28 14:48:17 +03:00
committed by Vladimir Golovnev (glassez)
parent ac8105c304
commit d198ee97a5

View File

@@ -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())