author | kergoth <kergoth> | 2002-12-12 00:36:20 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-12-12 00:36:20 (UTC) |
commit | 830a9a484064e0703e7e4e98714e415f5896068c (patch) (unidiff) | |
tree | d464d8b5b8d89102e47edb255286d492529581b4 | |
parent | cb783a8ddbeb6c85481c5b1a807f21be83817255 (diff) | |
download | opie-830a9a484064e0703e7e4e98714e415f5896068c.zip opie-830a9a484064e0703e7e4e98714e415f5896068c.tar.gz opie-830a9a484064e0703e7e4e98714e415f5896068c.tar.bz2 |
Set vendor to OpenZaurus Team on OZ roms
-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 | |||
@@ -717,12 +717,13 @@ void Zaurus::init ( ) | |||
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" ); |