mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Add 'Added on' column in Webui. Closes #5145,#1092,#738
This commit is contained in:
@@ -709,8 +709,8 @@ QVariantMap toMap(BitTorrent::TorrentHandle *const torrent)
|
||||
ret[KEY_TORRENT_SUPER_SEEDING] = torrent->superSeeding();
|
||||
ret[KEY_TORRENT_FORCE_START] = torrent->isForced();
|
||||
ret[KEY_TORRENT_SAVE_PATH] = Utils::Fs::toNativePath(torrent->savePath());
|
||||
ret[KEY_TORRENT_ADDED_ON] = torrent->addedTime();
|
||||
ret[KEY_TORRENT_COMPLETION_ON] = torrent->completedTime();
|
||||
ret[KEY_TORRENT_ADDED_ON] = torrent->addedTime().toTime_t();
|
||||
ret[KEY_TORRENT_COMPLETION_ON] = torrent->completedTime().toTime_t();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user