author | mickeyl <mickeyl> | 2004-11-04 14:13:05 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 14:13:05 (UTC) |
commit | 18684ddb43d4d79304dee6b20ab62513ee50b883 (patch) (side-by-side diff) | |
tree | 20c765170a62da7e10eb57a47dd5f68db41b7cc2 | |
parent | 34abbfc57a28dc2d08f71e8e29562659aa3942ac (diff) | |
download | opie-18684ddb43d4d79304dee6b20ab62513ee50b883.zip opie-18684ddb43d4d79304dee6b20ab62513ee50b883.tar.gz opie-18684ddb43d4d79304dee6b20ab62513ee50b883.tar.bz2 |
tiny layout tweak
-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.cpp | 2 | ||||
-rw-r--r-- | share/sysinfo/results | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp index 060185a..2a269b8 100644 --- a/noncore/settings/sysinfo/benchmarkinfo.cpp +++ b/noncore/settings/sysinfo/benchmarkinfo.cpp @@ -144,34 +144,32 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags ) QFile f( QPEApplication::qpeDir() + "share/sysinfo/results" ); if ( f.open( IO_ReadOnly ) ) { machineCombo = new QComboBox( this ); QWhatsThis::add( machineCombo, tr( "Choose a model to compare your results with." ) ); QTextStream ts( &f ); while( !ts.eof() ) { QString machline = ts.readLine(); odebug << "sysinfo: parsing benchmark results for '" << machline << "'" << oendl; QString resline = ts.readLine(); machines.insert( machline, new QStringList( QStringList::split( ",", resline ) ) ); machineCombo->insertItem( machline ); } - - hb->addWidget( new QLabel( tr( "Compare:" ), this ) ); hb->addWidget( machineCombo, 2 ); connect( machineCombo, SIGNAL( activated(int) ), this, SLOT( machineActivated(int) ) ); } } BenchmarkInfo::~BenchmarkInfo() {} void BenchmarkInfo::machineActivated( int index ) { QStringList* results = machines[ machineCombo->text( index ) ]; if ( !results ) { odebug << "sysinfo: no results available." << oendl; diff --git a/share/sysinfo/results b/share/sysinfo/results index d1fc6a8..7b7a587 100644 --- a/share/sysinfo/results +++ b/share/sysinfo/results @@ -1,17 +1,17 @@ -<Choose model> +<Compare to> n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a Sharp SL-5500 240010 dhrys,41.498 sec,88 char/sec,1786 gops/sec,50.123 kb/sec,41.7329 kb/sec,105.873 kb/sec Sharp SL-5600 not,yet,contributed,please,mail,to,opie@handhelds.org Sharp C-700 not,yet,contributed,please,mail,to,opie@handhelds.org Sharp C-750 490677 dhrys,2.452 sec,437 char/sec,1396 gops/sec,132.061 kb/sec,129.752 kb/sec,n/a Sharp C-760 not,yet,contributed,please,mail,to,opie@handhelds.org Sharp C-860 not,yet,contributed,please,mail,to,opie@handhelds.org HP iPAQ 36xx not,yet,contributed,please,mail,to,opie@handhelds.org HP iPAQ 37xx |