BUGFIX: Make sure seeding torrents display a progress of 100%

This commit is contained in:
Christophe Dumez
2010-02-04 20:32:42 +00:00
parent c9a8c1d053
commit 492b9dc88f
2 changed files with 4 additions and 0 deletions

View File

@@ -397,6 +397,7 @@ int TransferListWidget::updateTorrent(int row) {
listModel->setData(listModel->index(row, TR_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/stalledUP.png"))), Qt::DecorationRole);
setRowColor(row, QApplication::palette().color(QPalette::WindowText));
}
listModel->setData(listModel->index(row, TR_PROGRESS), QVariant((double)1.));
}
// Common to both downloads and uploads
listModel->setData(listModel->index(row, TR_STATUS), s);