Browse Source

Minor change in Stats dialog

adaptive-webui-19844
ngosang 9 years ago
parent
commit
bde762cb11
  1. 2
      src/gui/statsdialog.cpp
  2. 4
      src/gui/statsdialog.ui

2
src/gui/statsdialog.cpp

@ -98,7 +98,7 @@ void StatsDialog::updateUI() { @@ -98,7 +98,7 @@ void StatsDialog::updateUI() {
: "0"));
// Disk queues
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()));
// Total connected peers

4
src/gui/statsdialog.ui

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

Loading…
Cancel
Save