mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 18:56:34 +03:00
Fix missing percent sign in stats dialog
This commit is contained in:
parent
aaa723d3ec
commit
ab8ff9f362
1 changed files with 2 additions and 2 deletions
|
@ -91,12 +91,12 @@ void StatsDialog::updateUI() {
|
|||
peers += (*iBegin).status().num_peers;
|
||||
ui->labelWriteStarve->setText(
|
||||
( ss.disk_write_queue > 0 && peers > 0 ) ?
|
||||
misc::accurateDoubleToString(100. * (qreal)ss.disk_write_queue / (qreal)peers, 2) :
|
||||
misc::accurateDoubleToString(100. * (qreal)ss.disk_write_queue / (qreal)peers, 2) + "%" :
|
||||
QString("0\%")
|
||||
);
|
||||
ui->labelReadStarve->setText(
|
||||
( ss.disk_read_queue > 0 && peers > 0 ) ?
|
||||
misc::accurateDoubleToString(100. * (qreal)ss.disk_read_queue / (qreal)peers, 2) :
|
||||
misc::accurateDoubleToString(100. * (qreal)ss.disk_read_queue / (qreal)peers, 2) + "%" :
|
||||
QString("0\%")
|
||||
);
|
||||
// Disk queues
|
||||
|
|
Loading…
Reference in a new issue