author | kergoth <kergoth> | 2003-04-20 22:42:47 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-20 22:42:47 (UTC) |
commit | 6b78c023f67433b8f38d9e77598b8530988bfec8 (patch) (unidiff) | |
tree | c2ea1ae5433b12c685413a70a635fa7f59e443c6 /libopie | |
parent | 0da3e7316b90cfa0fd84b0de3c3b92cd3159b4e0 (diff) | |
download | opie-6b78c023f67433b8f38d9e77598b8530988bfec8.zip opie-6b78c023f67433b8f38d9e77598b8530988bfec8.tar.gz opie-6b78c023f67433b8f38d9e77598b8530988bfec8.tar.bz2 |
Typo
-rw-r--r-- | libopie/odevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index d78277f..501b601 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -1146,25 +1146,25 @@ void Zaurus::init ( ) | |||
1146 | } | 1146 | } |
1147 | 1147 | ||
1148 | f. setName ( "/proc/cpuinfo" ); | 1148 | f. setName ( "/proc/cpuinfo" ); |
1149 | if ( f. open ( IO_ReadOnly ) ) { | 1149 | if ( f. open ( IO_ReadOnly ) ) { |
1150 | QTextStream ts ( &f ); | 1150 | QTextStream ts ( &f ); |
1151 | QString line; | 1151 | QString line; |
1152 | while( line = ts. readLine ( ) ) { | 1152 | while( line = ts. readLine ( ) ) { |
1153 | if ( line. left ( 8 ) == "Hardware" ) | 1153 | if ( line. left ( 8 ) == "Hardware" ) |
1154 | break; | 1154 | break; |
1155 | } | 1155 | } |
1156 | int loc = line. find ( ":" ); | 1156 | int loc = line. find ( ":" ); |
1157 | if ( loc != -1 ) | 1157 | if ( loc != -1 ) |
1158 | model = line. mid ( loc + 2 ). simplifyWhitespace( ); | 1158 | model = line. mid ( loc + 2 ). simplifyWhiteSpace( ); |
1159 | } | 1159 | } |
1160 | 1160 | ||
1161 | if ( model == "SHARP Corgi" ) { | 1161 | if ( model == "SHARP Corgi" ) { |
1162 | d-> m_model = Model_Zaurus_SLC700; | 1162 | d-> m_model = Model_Zaurus_SLC700; |
1163 | d-> m_modelstr = "Zaurus SL-C700"; | 1163 | d-> m_modelstr = "Zaurus SL-C700"; |
1164 | } else if ( model == "SHARP Poodle" ) { | 1164 | } else if ( model == "SHARP Poodle" ) { |
1165 | d-> m_model = Model_Zaurus_SLB600; | 1165 | d-> m_model = Model_Zaurus_SLB600; |
1166 | d-> m_modelstr = "Zaurus SL-B500 or SL-5600"; | 1166 | d-> m_modelstr = "Zaurus SL-B500 or SL-5600"; |
1167 | } else if ( model = "Sharp-Collie" ) { | 1167 | } else if ( model = "Sharp-Collie" ) { |
1168 | d-> m_model = Model_Zaurus_SL5500; | 1168 | d-> m_model = Model_Zaurus_SL5500; |
1169 | d-> m_modelstr = "Zaurus SL-5500 or SL-5000d"; | 1169 | d-> m_modelstr = "Zaurus SL-5500 or SL-5000d"; |
1170 | } else { | 1170 | } else { |