From adb727d282f5574c615a5cb1b66e3f8f0129cb22 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 4 Feb 2010 20:18:58 +0000 Subject: [PATCH] Make sure seeding torrents display a progress of 100% --- src/transferlistwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index 40181c34e..8e7cfe3d5 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -422,6 +422,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);