Browse Source

- Fix seeds/leech and ETA display of torrents started in pause

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
bf727c11d3
  1. 2
      src/TransferListWidget.cpp

2
src/TransferListWidget.cpp

@ -130,6 +130,8 @@ void TransferListWidget::addTorrent(QTorrentHandle& h) { @@ -130,6 +130,8 @@ void TransferListWidget::addTorrent(QTorrentHandle& h) {
listModel->insertRow(row);
listModel->setData(listModel->index(row, NAME), QVariant(h.name()));
listModel->setData(listModel->index(row, SIZE), QVariant((qlonglong)h.actual_size()));
listModel->setData(listModel->index(row, ETA), QVariant((qlonglong)-1));
listModel->setData(listModel->index(row, SEEDSLEECH), QVariant(QString::fromUtf8("0/0")));
if(BTSession->isQueueingEnabled() && !h.is_seed())
listModel->setData(listModel->index(row, PRIORITY), QVariant((int)BTSession->getDlTorrentPriority(h.hash())));
listModel->setData(listModel->index(row, HASH), QVariant(h.hash()));

Loading…
Cancel
Save