summaryrefslogtreecommitdiff
authorschurig <schurig>2004-09-10 06:11:06 (UTC)
committer schurig <schurig>2004-09-10 06:11:06 (UTC)
commit0209835eb255beb66cf021c02e659ed8ab02dcd1 (patch) (side-by-side diff)
tree5ff8a0fc6a17aef41fb29ebf1c57359cbd42f461
parent931d699302619ac6472aca4b893d8a8bd188f040 (diff)
downloadopie-0209835eb255beb66cf021c02e659ed8ab02dcd1.zip
opie-0209835eb255beb66cf021c02e659ed8ab02dcd1.tar.gz
opie-0209835eb255beb66cf021c02e659ed8ab02dcd1.tar.bz2
oops, one 'b' to much
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp
index 47be13c..be7e4b6 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.cpp
+++ b/noncore/settings/sysinfo/benchmarkinfo.cpp
@@ -391,21 +391,21 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item
return;
}
QFile::remove( filename );
double readSpeed = FILE_TEST_COUNT / ( read / 1000.0 );
QString readUnit = "kB/s";
if ( readSpeed > 1024 )
{
readSpeed = readSpeed / 1024.0;
readUnit = "MB/s";
}
double writeSpeed = FILE_TEST_COUNT / ( write / 1000.0 );
QString writeUnit = "kb/s";
if ( writeSpeed > 1024 )
{
writeSpeed = writeSpeed / 1024.0;
- writeUnit = "MBb/s";
+ writeUnit = "MB/s";
}
item->setText( 1, QString().sprintf( "%.2f %s, %.2f %s", readSpeed, readUnit.latin1(), writeSpeed, writeUnit.latin1() ) );
item->setOn( false );
}