-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 ( ) | |||
28 | m_data = new OHwInfoData ( ); | 28 | m_data = new OHwInfoData ( ); |
29 | 29 | ||
30 | QFile f ( "/proc/hal/model" ); | 30 | QFile f ( "/proc/hal/model" ); |
31 | 31 | ||
32 | if ( f. open ( IO_ReadOnly )) { | 32 | if ( f. open ( IO_ReadOnly )) { |
33 | QTextStream ts ( &f ); | 33 | QTextStream ts ( &f ); |
34 | m_data-> m_modelstr = ts. readLine ( ); | 34 | m_data-> m_modelstr = "H" + ts. readLine ( ); |
35 | 35 | ||
36 | if ( m_data-> m_modelstr == "H3100" ) | 36 | if ( m_data-> m_modelstr == "H3100" ) |
37 | m_data-> m_model = OMODEL_iPAQ_H31xx; | 37 | m_data-> m_model = OMODEL_iPAQ_H31xx; |
38 | else if ( m_data-> m_modelstr == "H3600" ) | 38 | else if ( m_data-> m_modelstr == "H3600" ) |
39 | m_data-> m_model = OMODEL_iPAQ_H36xx; | 39 | m_data-> m_model = OMODEL_iPAQ_H36xx; |
40 | else if ( m_data-> m_modelstr == "H3700" ) | 40 | else if ( m_data-> m_modelstr == "H3700" ) |