mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
BUGFIX: Display correct share ratio for paused torrents
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
- BUGFIX: Fix torrent addition window layout (torrent content not expanding)
|
- BUGFIX: Fix torrent addition window layout (torrent content not expanding)
|
||||||
- BUGFIX: Fix about dialog in Web UI
|
- BUGFIX: Fix about dialog in Web UI
|
||||||
- BUGFIX: Correctly clear trackers error messages once they work
|
- BUGFIX: Correctly clear trackers error messages once they work
|
||||||
|
- BUGFIX: Display correct share ratio for paused torrents
|
||||||
|
|
||||||
* Sun Apr 04 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.3
|
* Sun Apr 04 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.3
|
||||||
- BUGFIX: Fix possible crash when deleting a torrent just after pausing it
|
- BUGFIX: Fix possible crash when deleting a torrent just after pausing it
|
||||||
|
|||||||
@@ -174,6 +174,7 @@ void TransferListWidget::addTorrent(QTorrentHandle& h) {
|
|||||||
listModel->setData(listModel->index(row, TR_SEED_DATE), QVariant(TorrentPersistentData::getSeedDate(h.hash())));
|
listModel->setData(listModel->index(row, TR_SEED_DATE), QVariant(TorrentPersistentData::getSeedDate(h.hash())));
|
||||||
listModel->setData(listModel->index(row, TR_UPLIMIT), QVariant(h.upload_limit()));
|
listModel->setData(listModel->index(row, TR_UPLIMIT), QVariant(h.upload_limit()));
|
||||||
listModel->setData(listModel->index(row, TR_DLLIMIT), QVariant(h.download_limit()));
|
listModel->setData(listModel->index(row, TR_DLLIMIT), QVariant(h.download_limit()));
|
||||||
|
listModel->setData(listModel->index(row, TR_RATIO), QVariant(BTSession->getRealRatio(h.hash())));
|
||||||
const QString &label = TorrentPersistentData::getLabel(h.hash());
|
const QString &label = TorrentPersistentData::getLabel(h.hash());
|
||||||
listModel->setData(listModel->index(row, TR_LABEL), QVariant(label));
|
listModel->setData(listModel->index(row, TR_LABEL), QVariant(label));
|
||||||
if(BTSession->isQueueingEnabled())
|
if(BTSession->isQueueingEnabled())
|
||||||
|
|||||||
Reference in New Issue
Block a user