mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
fix libtorrent 1.0 compatibility
This commit is contained in:
@@ -70,7 +70,7 @@ namespace misc
|
||||
|
||||
inline QString toQString(const libtorrent::sha1_hash &hash) {
|
||||
char out[41];
|
||||
to_hex((char const*)&hash[0], libtorrent::sha1_hash::size, out);
|
||||
libtorrent::to_hex((char const*)&hash[0], libtorrent::sha1_hash::size, out);
|
||||
return QString(out);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user