<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -347,16 +347,19 @@ void DownloadItem::updateInfoLabel()
 QString DownloadItem::dataString(int size) const
 {
     QString unit;
+    double newSize;
+
     if (size &lt; 1024) {
+        newSize = size;
         unit = tr(&quot;bytes&quot;);
     } else if (size &lt; 1024 * 1024) {
-        size /= 1024;
+        newSize = (double)size / (double)1024;
         unit = tr(&quot;kB&quot;);
     } else {
-        size /= 1024 * 1024;
+        newSize = (double)size / (double)(1024 * 1024);
         unit = tr(&quot;MB&quot;);
     }
-    return QString(QLatin1String(&quot;%1 %2&quot;)).arg(size).arg(unit);
+    return QString(QLatin1String(&quot;%1 %2&quot;)).arg(newSize, 0, 'f', 1).arg(unit);
 }
 
 bool DownloadItem::downloading() const</diff>
      <filename>src/downloadmanager.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4f28bc129d882f11483e17907e431393b78c555b</id>
    </parent>
  </parents>
  <author>
    <name>Jakub Lu&#382;n&#253;</name>
    <email>limoto94@gmail.com</email>
  </author>
  <url>http://github.com/Arora/arora/commit/adfc0291ac6fcacbb4c9a493e65d987dcd68fbb2</url>
  <id>adfc0291ac6fcacbb4c9a493e65d987dcd68fbb2</id>
  <committed-date>2008-06-11T09:26:44-07:00</committed-date>
  <authored-date>2008-06-08T13:13:57-07:00</authored-date>
  <message>Bytes count moved to double in DownloadManager

Signed-off-by: Benjamin C Meyer &lt;ben@meyerhome.net&gt;</message>
  <tree>54a4ddf7acfca8b63f19dc0d6827356a8e911215</tree>
  <committer>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </committer>
</commit>
