mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Display piece size in Web UI too
This commit is contained in:
parent
f5b3564392
commit
fb81d1c8c9
2 changed files with 6 additions and 1 deletions
|
@ -333,6 +333,8 @@ QVariantMap EventManager::getPropGeneralInfo(QString hash) const {
|
|||
data["save_path"] = p;
|
||||
// Creation date
|
||||
data["creation_date"] = h.creation_date();
|
||||
// Piece size
|
||||
data["piece_size"] = misc::friendlyUnit(h.piece_length());
|
||||
// Comment
|
||||
data["comment"] = h.comment();
|
||||
data["total_wasted"] = QVariant(misc::friendlyUnit(h.total_failed_bytes()+h.total_redundant_bytes()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue