From be097048fd5935a5b9c5d01fc44871daf8f2eb80 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 22 Jan 2014 00:33:09 +0200 Subject: [PATCH] Fix share ratio text. --- src/properties/propertieswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/properties/propertieswidget.cpp b/src/properties/propertieswidget.cpp index 76667620a..479a576f4 100644 --- a/src/properties/propertieswidget.cpp +++ b/src/properties/propertieswidget.cpp @@ -336,7 +336,7 @@ void PropertiesWidget::loadDynamicData() { reannounce_lbl->setText(h.next_announce()); // Update ratio info const qreal ratio = QBtSession::instance()->getRealRatio(h.hash()); - shareRatio->setText(ratio > QBtSession::MAX_RATIO ? QString::fromUtf8("∞") : misc::accurateDoubleToString(ratio*100, 2)); + shareRatio->setText(ratio > QBtSession::MAX_RATIO ? QString::fromUtf8("∞") : misc::accurateDoubleToString(ratio, 2)); if (!h.is_seed()) { showPiecesDownloaded(true); // Downloaded pieces