author | sandman <sandman> | 2002-06-16 01:27:37 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-16 01:27:37 (UTC) |
commit | eb414eb5d393f0f727e833fc8901aef096558997 (patch) (side-by-side diff) | |
tree | f4b8d8ac34c7dc1b44dda8d25cd37e3ae1dffa62 | |
parent | e4d3c7c1aab2b54262aafdd655edbc78d21d5ac5 (diff) | |
download | opie-eb414eb5d393f0f727e833fc8901aef096558997.zip opie-eb414eb5d393f0f727e833fc8901aef096558997.tar.gz opie-eb414eb5d393f0f727e833fc8901aef096558997.tar.bz2 |
Fixed typo in iPAQ detection routine .. model enum really works now
-rw-r--r-- | libopie/ohwinfo.cpp | 2 |
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 @@ -28,13 +28,13 @@ 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" ) |