mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Replace deprecated Qt functions
QSet::toList() is replaced by QSet::values()
This commit is contained in:
parent
c1e0207454
commit
6fd678195c
6 changed files with 9 additions and 9 deletions
|
@ -102,7 +102,7 @@ QVariantMap serialize(const BitTorrent::TorrentHandle &torrent)
|
|||
{KEY_TORRENT_FIRST_LAST_PIECE_PRIO, torrent.hasFirstLastPiecePriority()},
|
||||
|
||||
{KEY_TORRENT_CATEGORY, torrent.category()},
|
||||
{KEY_TORRENT_TAGS, torrent.tags().toList().join(", ")},
|
||||
{KEY_TORRENT_TAGS, torrent.tags().values().join(", ")},
|
||||
{KEY_TORRENT_SUPER_SEEDING, torrent.superSeeding()},
|
||||
{KEY_TORRENT_FORCE_START, torrent.isForced()},
|
||||
{KEY_TORRENT_SAVE_PATH, Utils::Fs::toNativePath(torrent.savePath())},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue