-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 58254a7..71ed9e4 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -1510,33 +1510,33 @@ bool Zaurus::isZaurus() | |||
1510 | 1510 | ||
1511 | QTextStream ts ( &f ); | 1511 | QTextStream ts ( &f ); |
1512 | QString line; | 1512 | QString line; |
1513 | while( line = ts. readLine ( ) ) { | 1513 | while( line = ts. readLine ( ) ) { |
1514 | if ( line. left ( 8 ) == "Hardware" ) | 1514 | if ( line. left ( 8 ) == "Hardware" ) |
1515 | break; | 1515 | break; |
1516 | } | 1516 | } |
1517 | int loc = line. find ( ":" ); | 1517 | int loc = line. find ( ":" ); |
1518 | if ( loc != -1 ) | 1518 | if ( loc != -1 ) |
1519 | model = line. mid ( loc + 2 ). simplifyWhiteSpace( ); | 1519 | model = line. mid ( loc + 2 ). simplifyWhiteSpace( ); |
1520 | 1520 | ||
1521 | if ( model == "Sharp-Collie" | 1521 | if ( model == "Sharp-Collie" |
1522 | || model == "Collie" | 1522 | || model == "Collie" |
1523 | || model == "SHARP Corgi" | 1523 | || model == "SHARP Corgi" |
1524 | || model == "SHARP Shepherd" | 1524 | || model == "SHARP Shepherd" |
1525 | || model == "SHARP Poodle" | 1525 | || model == "SHARP Poodle" |
1526 | || model == "SHARP Husky" ) | 1526 | || model == "SHARP Husky" |
1527 | ) | 1527 | ) |
1528 | is_zaurus = true; | 1528 | is_zaurus = true; |
1529 | 1529 | ||
1530 | } | 1530 | } |
1531 | return is_zaurus; | 1531 | return is_zaurus; |
1532 | } | 1532 | } |
1533 | 1533 | ||
1534 | 1534 | ||
1535 | void Zaurus::init ( ) | 1535 | void Zaurus::init ( ) |
1536 | { | 1536 | { |
1537 | d-> m_vendorstr = "Sharp"; | 1537 | d-> m_vendorstr = "Sharp"; |
1538 | d-> m_vendor = Vendor_Sharp; | 1538 | d-> m_vendor = Vendor_Sharp; |
1539 | m_embedix = true; // Not openzaurus means: It has an embedix kernel ! | 1539 | m_embedix = true; // Not openzaurus means: It has an embedix kernel ! |
1540 | 1540 | ||
1541 | // QFile f ( "/proc/filesystems" ); | 1541 | // QFile f ( "/proc/filesystems" ); |
1542 | QString model; | 1542 | QString model; |