mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Don't forget to start "watch timer"
This commit is contained in:
parent
ac8105c304
commit
d198ee97a5
1 changed files with 3 additions and 6 deletions
|
@ -600,13 +600,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…
Add table
Add a link
Reference in a new issue