summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.cpp19
-rw-r--r--noncore/settings/sysinfo/sysinfo.pro2
-rw-r--r--share/sysinfo/results4
3 files changed, 12 insertions, 13 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp
index be7e4b6..fde032a 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.cpp
+++ b/noncore/settings/sysinfo/benchmarkinfo.cpp
@@ -3,3 +3,3 @@
3** 3**
4** A benchmark for Qt/Embedded 4** A benchmark widget for Qt/Embedded
5** 5**
@@ -65,5 +65,2 @@ extern "C"
65 65
66#define BUFF_SIZE 8192
67#define FILE_SIZE 1024 * 1024 // 1Mb
68
69//=========================================================================== 66//===========================================================================
@@ -144,2 +141,5 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
144 141
142 QHBoxLayout* hb = new QHBoxLayout( vb );
143 hb->addWidget( startButton, 2 );
144
145 QFile f( QPEApplication::qpeDir() + "/share/sysinfo/results" ); 145 QFile f( QPEApplication::qpeDir() + "/share/sysinfo/results" );
@@ -160,4 +160,3 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
160 160
161 QHBoxLayout* hb = new QHBoxLayout( vb ); 161 hb->addWidget( new QLabel( tr( "Compare:" ), this ) );
162 hb->addWidget( new QLabel( tr( "Compare To:" ), this ) );
163 hb->addWidget( machineCombo, 2 ); 162 hb->addWidget( machineCombo, 2 );
@@ -165,4 +164,2 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
165 } 164 }
166
167 vb->addWidget( startButton, 2 );
168} 165}
@@ -197,3 +194,3 @@ void BenchmarkInfo::run()
197{ 194{
198 startButton->setText( "> Don't touch! Running Tests! Don't touch! <" ); 195 startButton->setText( "> Don't touch! <" );
199 qApp->processEvents(); 196 qApp->processEvents();
@@ -398,3 +395,3 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item
398 { 395 {
399 readSpeed = readSpeed / 1024.0; 396 readSpeed /= 1024.0;
400 readUnit = "MB/s"; 397 readUnit = "MB/s";
@@ -405,3 +402,3 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item
405 { 402 {
406 writeSpeed = writeSpeed / 1024.0; 403 writeSpeed /= 1024.0;
407 writeUnit = "MB/s"; 404 writeUnit = "MB/s";
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro
index 58f6eb0..dd35563 100644
--- a/noncore/settings/sysinfo/sysinfo.pro
+++ b/noncore/settings/sysinfo/sysinfo.pro
@@ -31,3 +31,3 @@ DEFINES += UNIX
31TARGET = sysinfo 31TARGET = sysinfo
32VERSION = 1.1.0 32VERSION = 1.1.1
33 33
diff --git a/share/sysinfo/results b/share/sysinfo/results
index b34fc99..b53f1ea 100644
--- a/share/sysinfo/results
+++ b/share/sysinfo/results
@@ -1,2 +1,2 @@
1<Choose a model> 1<Choose model>
2n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a 2n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a
@@ -30 +30,3 @@ SIEMENS SIMpad
30not,yet,contributed,please,mail,to,opie@handhelds.org 30not,yet,contributed,please,mail,to,opie@handhelds.org
31MASTERIA Beagle
32not,yet,contributed,please,mail,to,opie@handhelds.org