Commit 6e07d2bb authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk

updater: updateconfirm ui fix and change unit for download speed

Change-Id: I70cdf2c590be091e255ee882b5c78e8d7d769922
parent f7add23a
......@@ -117,7 +117,7 @@ void DownloadManager::slotDownloadProgress(qint64 bytesReceived, qint64 bytesTot
QString unit;
if (speed < 1024) {
unit = "bytes/sec";
unit = "B/s";
} else if (speed < 1024 * 1024) {
speed /= 1024;
unit = "kB/s";
......
......@@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<width>450</width>
<height>200</height>
</rect>
</property>
......@@ -21,13 +21,13 @@
</property>
<property name="minimumSize">
<size>
<width>400</width>
<width>450</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>450</width>
<height>200</height>
</size>
</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment