summaryrefslogtreecommitdiff
path: root/libopie
authorchicken <chicken>2003-10-24 14:01:23 (UTC)
committer chicken <chicken>2003-10-24 14:01:23 (UTC)
commit96a577bb03db6ccbf1a10b03116d3b868233df0e (patch) (side-by-side diff)
treeda9ed9231f12c2538a4e8e24bd5e325bc22b90fe /libopie
parenta9eddd4cd428dd844d8693e98e4df8e365e75da8 (diff)
downloadopie-96a577bb03db6ccbf1a10b03116d3b868233df0e.zip
opie-96a577bb03db6ccbf1a10b03116d3b868233df0e.tar.gz
opie-96a577bb03db6ccbf1a10b03116d3b868233df0e.tar.bz2
even more Jornada 56X updates
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp11
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 ( )
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 ( )
{