-rw-r--r-- | libopie/odevice.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index cea4f35..9b2a954 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -646,4 +646,20 @@ void iPAQ::init ( ) | |||
646 | f. close ( ); | 646 | f. close ( ); |
647 | } else { | ||
648 | f. setName ( "/etc/oz_version" ); | ||
649 | |||
650 | if ( f. open ( IO_ReadOnly )) { | ||
651 | d-> m_systemstr = "OpenEmbedded/iPaq"; | ||
652 | d-> m_system = System_Familiar; | ||
653 | |||
654 | QTextStream ts ( &f ); | ||
655 | ts.setDevice ( &f ); | ||
656 | d-> m_sysverstr = ts. readLine ( ); | ||
657 | f. close ( ); | ||
658 | } | ||
647 | } | 659 | } |
648 | 660 | ||
661 | |||
662 | |||
663 | |||
664 | |||
649 | m_leds [0] = m_leds [1] = Led_Off; | 665 | m_leds [0] = m_leds [1] = Led_Off; |