[PC-BSD Commits] r17916 - pcbsd/current/src-qt4/pc-softwaremanager
svn at pcbsd.org
svn at pcbsd.org
Tue Jul 24 11:20:04 PDT 2012
Author: kris
Date: 2012-07-24 18:20:04 +0000 (Tue, 24 Jul 2012)
New Revision: 17916
Modified:
pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp
Log:
Display speed properly
Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp 2012-07-24 18:18:52 UTC (rev 17915)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp 2012-07-24 18:20:04 UTC (rev 17916)
@@ -355,7 +355,7 @@
tot = line.section(" ", 0, 0).toInt(&ok);
cur = line.section(" ", 1, 1).toInt(&ok2);
QString percent = QString::number( (float)(cur * 100)/tot );
- speed = line.section(" ", 2, 2);
+ speed = line.section(" ", 2, 3);
// Get the MB downloaded / total
tot = tot / 1024;
More information about the Commits
mailing list