Drop implicit conversions between InfoHash and QString

This commit is contained in:
Vladimir Golovnev (Glassez)
2021-03-01 10:41:31 +03:00
parent 752eb58ec0
commit 8cfd803222
13 changed files with 72 additions and 68 deletions

View File

@@ -103,7 +103,7 @@ QVariantMap serialize(const BitTorrent::Torrent &torrent)
};
return {
{KEY_TORRENT_HASH, QString(torrent.hash())},
{KEY_TORRENT_HASH, QString(torrent.hash().toString())},
{KEY_TORRENT_NAME, torrent.name()},
{KEY_TORRENT_MAGNET_URI, torrent.createMagnetURI()},
{KEY_TORRENT_SIZE, torrent.wantedSize()},