mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Provide v1 and v2 infohashes in UI (#15097)
This commit is contained in:
committed by
GitHub
parent
f6eb29d800
commit
37f227ae74
@@ -382,6 +382,8 @@ void TorrentsController::propertiesAction()
|
||||
|
||||
QJsonObject dataDict;
|
||||
|
||||
dataDict[KEY_TORRENT_INFOHASHV1] = torrent->infoHash().v1().toString();
|
||||
dataDict[KEY_TORRENT_INFOHASHV2] = torrent->infoHash().v2().toString();
|
||||
dataDict[KEY_PROP_TIME_ELAPSED] = torrent->activeTime();
|
||||
dataDict[KEY_PROP_SEEDING_TIME] = torrent->seedingTime();
|
||||
dataDict[KEY_PROP_ETA] = static_cast<double>(torrent->eta());
|
||||
|
||||
Reference in New Issue
Block a user