mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Drop support of Qt 5
Also remove usage of some deprecated stuff. PR #19338.
This commit is contained in:
parent
5e610cfdcf
commit
dbe79484d2
55 changed files with 48 additions and 462 deletions
|
@ -377,11 +377,7 @@ QDataStream &operator>>(QDataStream &in, Path &path)
|
|||
return in;
|
||||
}
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||
std::size_t qHash(const Path &key, const std::size_t seed)
|
||||
#else
|
||||
uint qHash(const Path &key, const uint seed)
|
||||
#endif
|
||||
{
|
||||
return ::qHash(key.data(), seed);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue