mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Drop support of Qt 5
Also remove usage of some deprecated stuff. PR #19338.
This commit is contained in:
committed by
GitHub
parent
5e610cfdcf
commit
dbe79484d2
@@ -87,11 +87,7 @@ namespace BitTorrent
|
||||
WrappedType m_nativeHash;
|
||||
};
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||
std::size_t qHash(const TorrentID &key, std::size_t seed = 0);
|
||||
#else
|
||||
uint qHash(const TorrentID &key, uint seed = 0);
|
||||
#endif
|
||||
|
||||
bool operator==(const InfoHash &left, const InfoHash &right);
|
||||
bool operator!=(const InfoHash &left, const InfoHash &right);
|
||||
|
||||
Reference in New Issue
Block a user