mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Merge pull request #13340 from glassez/fix-magnet
Improve adding torrent using Magnet URI
This commit is contained in:
@@ -758,12 +758,7 @@ namespace BitTorrent
|
||||
QThread *m_ioThread = nullptr;
|
||||
ResumeDataSavingManager *m_resumeDataSavingManager = nullptr;
|
||||
|
||||
struct LoadedMetadataHandle
|
||||
{
|
||||
lt::add_torrent_params ltAddTorrentParams {};
|
||||
TorrentInfo metadata;
|
||||
};
|
||||
QHash<InfoHash, LoadedMetadataHandle> m_loadedMetadata;
|
||||
QSet<InfoHash> m_loadedMetadata;
|
||||
|
||||
QHash<InfoHash, TorrentHandleImpl *> m_torrents;
|
||||
QHash<InfoHash, LoadTorrentParams> m_loadingTorrents;
|
||||
|
||||
Reference in New Issue
Block a user