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 ...@@ -117,7 +117,7 @@ void DownloadManager::slotDownloadProgress(qint64 bytesReceived, qint64 bytesTot
QString unit; QString unit;
if (speed < 1024) { if (speed < 1024) {
unit = "bytes/sec"; unit = "B/s";
} else if (speed < 1024 * 1024) { } else if (speed < 1024 * 1024) {
speed /= 1024; speed /= 1024;
unit = "kB/s"; unit = "kB/s";
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>450</width>
<height>200</height> <height>200</height>
</rect> </rect>
</property> </property>
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>400</width> <width>450</width>
<height>200</height> <height>200</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>400</width> <width>450</width>
<height>200</height> <height>200</height>
</size> </size>
</property> </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