summaryrefslogtreecommitdiff
path: root/libopie
Unidiff
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 7d8cdbf..25c9826 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -741,25 +741,25 @@ void Zaurus::init ( )
741 741
742 QFile f ( "/proc/filesystems" ); 742 QFile f ( "/proc/filesystems" );
743 743
744 if ( f. open ( IO_ReadOnly ) && ( QTextStream ( &f ). read ( ). find ( "\tjffs2\n" ) >= 0 )) { 744 if ( f. open ( IO_ReadOnly ) && ( QTextStream ( &f ). read ( ). find ( "\tjffs2\n" ) >= 0 )) {
745 d-> m_systemstr = "OpenZaurus"; 745 d-> m_systemstr = "OpenZaurus";
746 d-> m_system = System_OpenZaurus; 746 d-> m_system = System_OpenZaurus;
747 747
748 f. close ( ); 748 f. close ( );
749 749
750 f. setName ( "/etc/oz_version" ); 750 f. setName ( "/etc/oz_version" );
751 if ( f. open ( IO_ReadOnly )) { 751 if ( f. open ( IO_ReadOnly )) {
752 QTextStream ts ( &f ); 752 QTextStream ts ( &f );
753 d-> m_sysverstr = ts. readLine ( ). mid ( 10 ); 753 d-> m_sysverstr = ts. readLine ( );//. mid ( 10 );
754 f. close ( ); 754 f. close ( );
755 } 755 }
756 } 756 }
757 else { 757 else {
758 d-> m_systemstr = "Zaurus"; 758 d-> m_systemstr = "Zaurus";
759 d-> m_system = System_Zaurus; 759 d-> m_system = System_Zaurus;
760 } 760 }
761 761
762 762
763 m_leds [0] = Led_Off; 763 m_leds [0] = Led_Off;
764} 764}
765 765