mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Store hybrid torrents using legacy filenames
* Make Digest32 implicitly shared class * Store hybrid torrents using legacy filenames PR #16237.
This commit is contained in:
committed by
GitHub
parent
270e2023cd
commit
e93c360db6
@@ -36,6 +36,13 @@ BitTorrent::InfoHash::InfoHash(const WrappedType &nativeHash)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef QBT_USES_LIBTORRENT2
|
||||
BitTorrent::InfoHash::InfoHash(const SHA1Hash &v1, const SHA256Hash &v2)
|
||||
: InfoHash {WrappedType(v1, v2)}
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
bool BitTorrent::InfoHash::isValid() const
|
||||
{
|
||||
return m_valid;
|
||||
|
||||
Reference in New Issue
Block a user