Merge pull request #5057 from ngosang/statics

Minor change in Stats dialog
This commit is contained in:
sledgehammer999 2016-04-17 14:13:43 -05:00
commit 2d8d3c8152
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ void StatsDialog::updateUI() {
: "0")); : "0"));
// Disk queues // Disk queues
ui->labelQueuedJobs->setText(QString::number(cs.jobQueueLength())); ui->labelQueuedJobs->setText(QString::number(cs.jobQueueLength()));
ui->labelJobsTime->setText(QString::number(cs.averageJobTime())); ui->labelJobsTime->setText(tr("%1 ms", "18 milliseconds").arg(cs.averageJobTime()));
ui->labelQueuedBytes->setText(Utils::Misc::friendlyUnit(cs.queuedBytes())); ui->labelQueuedBytes->setText(Utils::Misc::friendlyUnit(cs.queuedBytes()));
// Total connected peers // Total connected peers

View File

@ -102,7 +102,7 @@
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="labelCacheHitsText"> <widget class="QLabel" name="labelCacheHitsText">
<property name="text"> <property name="text">
<string>Read cache Hits:</string> <string>Read cache hits:</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -181,7 +181,7 @@
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="labelJobsTimeText"> <widget class="QLabel" name="labelJobsTimeText">
<property name="text"> <property name="text">
<string>Average time in queue (ms):</string> <string>Average time in queue:</string>
</property> </property>
</widget> </widget>
</item> </item>