mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 15:42:32 -06:00
Access some more data in a non-blocking manner
* Cache URL seeds to access in a non-blocking manner * Provide non-blocking way to create magnet URI for torrent PR #18572.
This commit is contained in:
committed by
GitHub
parent
1b0f5b8567
commit
4c0ebc0e0f
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2020-2022 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2020-2023 Vladimir Golovnev <glassez@yandex.ru>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -46,6 +46,7 @@ NativeTorrentExtension::NativeTorrentExtension(const lt::torrent_handle &torrent
|
||||
{
|
||||
m_data->status = m_torrentHandle.status({});
|
||||
m_data->trackers = m_torrentHandle.trackers();
|
||||
m_data->urlSeeds = m_torrentHandle.url_seeds();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user