ETA for finished torrent is now 0 instead of Infinite (closes #583704)

Fix unicode issue in start seeding after torrent creation code
This commit is contained in:
Christophe Dumez 2010-05-21 11:25:30 +00:00
parent bdd8cbb1d8
commit 963d73af4e
3 changed files with 5 additions and 2 deletions

View file

@ -454,7 +454,7 @@ void TransferListWidget::setFinished(QTorrentHandle &h) {
listModel->setData(listModel->index(row, TR_STATUS), STATE_STALLED_UP);
setRowColor(row, QApplication::palette().color(QPalette::WindowText));
}
listModel->setData(listModel->index(row, TR_ETA), QVariant((qlonglong)-1));
listModel->setData(listModel->index(row, TR_ETA), QVariant((qlonglong)0));
listModel->setData(listModel->index(row, TR_DLSPEED), QVariant((double)0.));
listModel->setData(listModel->index(row, TR_PROGRESS), QVariant((double)1.));
listModel->setData(listModel->index(row, TR_PRIORITY), QVariant((int)-1));