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

@@ -75,6 +75,8 @@ namespace
}
}
const int torrentInfoId = qRegisterMetaType<TorrentInfo>();
TorrentInfo::TorrentInfo(std::shared_ptr<const lt::torrent_info> nativeInfo)
{
m_nativeInfo = std::const_pointer_cast<lt::torrent_info>(nativeInfo);