Fix "Pause/Delete" torrents once they reach a given ratio

This commit is contained in:
Christophe Dumez
2010-06-22 17:46:07 +00:00
parent 5a82aee76b
commit dfecdb1956
3 changed files with 11 additions and 6 deletions

View File

@@ -350,7 +350,7 @@ void PropertiesWidget::loadDynamicData() {
if(ratio > 100.)
shareRatio->setText(QString::fromUtf8(""));
else
shareRatio->setText(QString(QByteArray::number(ratio, 'f', 1)));
shareRatio->setText(QString(QByteArray::number(ratio, 'f', 2)));
if(!h.is_seed()) {
showPiecesDownloaded(true);
// Downloaded pieces