summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-04-10 21:19:45 (UTC)
committer harlekin <harlekin>2003-04-10 21:19:45 (UTC)
commitb44d3aff66e7f520f6e0c08cb201cfe00994dbc5 (patch) (side-by-side diff)
tree3356fc83d1feb2e577fc26d58f2fd9804523fa40
parent6f7b120de8f4b883e709386882f3fe8ed925d0da (diff)
downloadopie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.zip
opie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.tar.gz
opie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.tar.bz2
openembedded/ipaq name
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp16
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
@@ -644,8 +644,24 @@ void iPAQ::init ( )
d-> m_sysverstr = ts. readLine ( ). mid ( 10 );
f. close ( );
+ } else {
+ f. setName ( "/etc/oz_version" );
+
+ if ( f. open ( IO_ReadOnly )) {
+ d-> m_systemstr = "OpenEmbedded/iPaq";
+ d-> m_system = System_Familiar;
+
+ QTextStream ts ( &f );
+ ts.setDevice ( &f );
+ d-> m_sysverstr = ts. readLine ( );
+ f. close ( );
+ }
}
+
+
+
+
m_leds [0] = m_leds [1] = Led_Off;
m_power_timer = 0;