-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.cpp | 2 |
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 | |||
@@ -395,17 +395,17 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item | |||
395 | double readSpeed = FILE_TEST_COUNT / ( read / 1000.0 ); | 395 | double readSpeed = FILE_TEST_COUNT / ( read / 1000.0 ); |
396 | QString readUnit = "kB/s"; | 396 | QString readUnit = "kB/s"; |
397 | if ( readSpeed > 1024 ) | 397 | if ( readSpeed > 1024 ) |
398 | { | 398 | { |
399 | readSpeed = readSpeed / 1024.0; | 399 | readSpeed = readSpeed / 1024.0; |
400 | readUnit = "MB/s"; | 400 | readUnit = "MB/s"; |
401 | } | 401 | } |
402 | double writeSpeed = FILE_TEST_COUNT / ( write / 1000.0 ); | 402 | double writeSpeed = FILE_TEST_COUNT / ( write / 1000.0 ); |
403 | QString writeUnit = "kb/s"; | 403 | QString writeUnit = "kb/s"; |
404 | if ( writeSpeed > 1024 ) | 404 | if ( writeSpeed > 1024 ) |
405 | { | 405 | { |
406 | writeSpeed = writeSpeed / 1024.0; | 406 | writeSpeed = writeSpeed / 1024.0; |
407 | writeUnit = "MBb/s"; | 407 | writeUnit = "MB/s"; |
408 | } | 408 | } |
409 | item->setText( 1, QString().sprintf( "%.2f %s, %.2f %s", readSpeed, readUnit.latin1(), writeSpeed, writeUnit.latin1() ) ); | 409 | item->setText( 1, QString().sprintf( "%.2f %s, %.2f %s", readSpeed, readUnit.latin1(), writeSpeed, writeUnit.latin1() ) ); |
410 | item->setOn( false ); | 410 | item->setOn( false ); |
411 | } | 411 | } |