summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-05-13 09:15:37 (UTC)
committer mickeyl <mickeyl>2005-05-13 09:15:37 (UTC)
commitb010c50f099d197c0a89755eeef4dc1e40559a83 (patch) (side-by-side diff)
tree8225bcb4ec5c12a16183382a6dc350490831f97b
parent6d8b3f413347126d49fec3283dba42db9fc2c858 (diff)
downloadopie-b010c50f099d197c0a89755eeef4dc1e40559a83.zip
opie-b010c50f099d197c0a89755eeef4dc1e40559a83.tar.gz
opie-b010c50f099d197c0a89755eeef4dc1e40559a83.tar.bz2
/proc/cpuinfo format is architecture dependent :/
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/devicesinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/devicesinfo.cpp b/noncore/settings/sysinfo/devicesinfo.cpp
index b463e43..7e8aee8 100644
--- a/noncore/settings/sysinfo/devicesinfo.cpp
+++ b/noncore/settings/sysinfo/devicesinfo.cpp
@@ -155,9 +155,9 @@ void CpuCategory::populate()
while ( !cpuinfo.atEnd() )
{
QString line = cpuinfo.readLine();
odebug << "got line '" << line << "'" << oendl;
- if ( line.startsWith( "processor" ) )
+ if ( line.lower().startsWith( "processor" ) )
{
dev = new CpuDevice( this, QString( "CPU #%1" ).arg( cpucount++ ) );
dev->addInfo( line );
}