Improve "Watched folders" feature

Make "file system watcher" an application core component
and separate it from its presentation model.
This commit is contained in:
Vladimir Golovnev (Glassez)
2021-04-23 12:02:25 +03:00
parent 9565b695ef
commit 2993fdb169
29 changed files with 1636 additions and 1016 deletions

View File

@@ -34,7 +34,6 @@
#include <libtorrent/sha1_hash.hpp>
#include <QRegularExpression>
#include <QUrl>
#include "infohash.h"
@@ -59,6 +58,8 @@ namespace
using namespace BitTorrent;
const int magnetUriId = qRegisterMetaType<MagnetUri>();
MagnetUri::MagnetUri(const QString &source)
: m_valid(false)
, m_url(source)