summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ohwinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/ohwinfo.cpp b/libopie/ohwinfo.cpp
index ae07c6c..30c47c8 100644
--- a/libopie/ohwinfo.cpp
+++ b/libopie/ohwinfo.cpp
@@ -22,25 +22,25 @@ OHwInfo *OHwInfo::inst ( )
}
return inf;
}
OHwInfo::OHwInfo ( )
{
m_data = new OHwInfoData ( );
QFile f ( "/proc/hal/model" );
if ( f. open ( IO_ReadOnly )) {
QTextStream ts ( &f );
- m_data-> m_modelstr = ts. readLine ( );
+ m_data-> m_modelstr = "H" + ts. readLine ( );
if ( m_data-> m_modelstr == "H3100" )
m_data-> m_model = OMODEL_iPAQ_H31xx;
else if ( m_data-> m_modelstr == "H3600" )
m_data-> m_model = OMODEL_iPAQ_H36xx;
else if ( m_data-> m_modelstr == "H3700" )
m_data-> m_model = OMODEL_iPAQ_H37xx;
else if ( m_data-> m_modelstr == "H3800" )
m_data-> m_model = OMODEL_iPAQ_H38xx;
else
m_data-> m_model = OMODEL_Unknown;