mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-30 08:24:22 +00:00
Make sure seeding torrents display a progress of 100%
This commit is contained in:
parent
e17ca355ae
commit
adb727d282
@ -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);
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user