-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,7 +2504,18 @@ void Jornada::init ( ) | |||
2504 | d-> m_systemstr = "Familiar"; | 2504 | d-> m_systemstr = "Familiar"; |
2505 | d-> m_system = System_Familiar; | 2505 | d-> m_system = System_Familiar; |
2506 | d-> m_rotation = Rot0; | 2506 | d-> m_rotation = Rot0; |
2507 | |||
2508 | QFile f ( "/etc/familiar-version" ); | ||
2509 | f. setName ( "/etc/familiar-version" ); | ||
2510 | if ( f. open ( IO_ReadOnly )) { | ||
2511 | |||
2512 | QTextStream ts ( &f ); | ||
2513 | d-> m_sysverstr = ts. readLine ( ). mid ( 10 ); | ||
2514 | |||
2515 | f. close ( ); | ||
2507 | } | 2516 | } |
2517 | } | ||
2518 | |||
2508 | 2519 | ||
2509 | void Jornada::initButtons ( ) | 2520 | void Jornada::initButtons ( ) |
2510 | { | 2521 | { |