From 96a577bb03db6ccbf1a10b03116d3b868233df0e Mon Sep 17 00:00:00 2001 From: chicken Date: Fri, 24 Oct 2003 14:01:23 +0000 Subject: even more Jornada 56X updates --- 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 ) -- cgit v0.9.0.2