mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Rework the GUI code for private torrents.
This commit is contained in:
@@ -336,6 +336,8 @@ bool QTorrentHandle::is_sequential_download() const {
|
||||
}
|
||||
|
||||
bool QTorrentHandle::priv() const {
|
||||
if (!has_metadata())
|
||||
return false;
|
||||
#if LIBTORRENT_VERSION_NUM < 10000
|
||||
return torrent_handle::get_torrent_info().priv();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user