-rw-r--r-- | libopie/odevice.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 8624016..13b4330 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -2504,8 +2504,19 @@ void Jornada::init ( ) d-> m_systemstr = "Familiar"; d-> m_system = System_Familiar; d-> m_rotation = Rot0; + + QFile f ( "/etc/familiar-version" ); + f. setName ( "/etc/familiar-version" ); + if ( f. open ( IO_ReadOnly )) { + + QTextStream ts ( &f ); + d-> m_sysverstr = ts. readLine ( ). mid ( 10 ); + + f. close ( ); + } } + void Jornada::initButtons ( ) { if ( d-> m_buttons ) |