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

@@ -1,3 +1,6 @@
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.1.4
- BUGFIX: Make sure seeding torrents display a progress of 100%
* Sun Jan 31 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.3 * Sun Jan 31 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.3
- BUGFIX: Fix "Append .!qB extension to complete files" (libtorrent v0.15) - BUGFIX: Fix "Append .!qB extension to complete files" (libtorrent v0.15)
- BUGFIX: Make sure bandwidth limiting dialogs are centered on screen - BUGFIX: Make sure bandwidth limiting dialogs are centered on screen

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); listModel->setData(listModel->index(row, TR_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/stalledUP.png"))), Qt::DecorationRole);
setRowColor(row, QApplication::palette().color(QPalette::WindowText)); setRowColor(row, QApplication::palette().color(QPalette::WindowText));
} }
listModel->setData(listModel->index(row, TR_PROGRESS), QVariant((double)1.));
} }
// Common to both downloads and uploads // Common to both downloads and uploads
listModel->setData(listModel->index(row, TR_STATUS), s); listModel->setData(listModel->index(row, TR_STATUS), s);