-rw-r--r-- | libopie/odevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index a33d4ad..9fd3ae2 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -707,32 +707,33 @@ int iPAQ::lightSensorResolution ( ) const | |||
707 | /************************************************** | 707 | /************************************************** |
708 | * | 708 | * |
709 | * Zaurus | 709 | * Zaurus |
710 | * | 710 | * |
711 | **************************************************/ | 711 | **************************************************/ |
712 | 712 | ||
713 | 713 | ||
714 | 714 | ||
715 | void Zaurus::init ( ) | 715 | void Zaurus::init ( ) |
716 | { | 716 | { |
717 | d-> m_vendorstr = "Sharp"; | 717 | d-> m_vendorstr = "Sharp"; |
718 | d-> m_vendor = Vendor_Sharp; | 718 | d-> m_vendor = Vendor_Sharp; |
719 | 719 | ||
720 | QFile f ( "/proc/filesystems" ); | 720 | QFile f ( "/proc/filesystems" ); |
721 | 721 | ||
722 | if ( f. open ( IO_ReadOnly ) && ( QTextStream ( &f ). read ( ). find ( "\tjffs2\n" ) >= 0 )) { | 722 | if ( f. open ( IO_ReadOnly ) && ( QTextStream ( &f ). read ( ). find ( "\tjffs2\n" ) >= 0 )) { |
723 | d-> m_vendorstr = "OpenZaurus Team"; | ||
723 | d-> m_systemstr = "OpenZaurus"; | 724 | d-> m_systemstr = "OpenZaurus"; |
724 | d-> m_system = System_OpenZaurus; | 725 | d-> m_system = System_OpenZaurus; |
725 | 726 | ||
726 | f. close ( ); | 727 | f. close ( ); |
727 | 728 | ||
728 | f. setName ( "/etc/oz_version" ); | 729 | f. setName ( "/etc/oz_version" ); |
729 | if ( f. open ( IO_ReadOnly )) { | 730 | if ( f. open ( IO_ReadOnly )) { |
730 | QTextStream ts ( &f ); | 731 | QTextStream ts ( &f ); |
731 | d-> m_sysverstr = ts. readLine ( );//. mid ( 10 ); | 732 | d-> m_sysverstr = ts. readLine ( );//. mid ( 10 ); |
732 | f. close ( ); | 733 | f. close ( ); |
733 | } | 734 | } |
734 | } | 735 | } |
735 | else { | 736 | else { |
736 | d-> m_systemstr = "Zaurus"; | 737 | d-> m_systemstr = "Zaurus"; |
737 | d-> m_system = System_Zaurus; | 738 | d-> m_system = System_Zaurus; |
738 | } | 739 | } |