Add copy comment functionality to the torrent list's context menu

PR #19846.
Closes #18890.
This commit is contained in:
thalieht
2023-11-07 11:42:31 +02:00
committed by GitHub
parent f067ab1692
commit 30d9978c97
7 changed files with 37 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ QVariantMap serialize(const BitTorrent::Torrent &torrent)
{KEY_TORRENT_LAST_ACTIVITY_TIME, getLastActivityTime()},
{KEY_TORRENT_AVAILABILITY, torrent.distributedCopies()},
{KEY_TORRENT_REANNOUNCE, torrent.nextAnnounce()},
{KEY_TORRENT_COMMENT, torrent.comment()},
{KEY_TORRENT_TOTAL_SIZE, torrent.totalSize()}
};