author | mickeyl <mickeyl> | 2005-03-31 20:03:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-03-31 20:03:31 (UTC) |
commit | 629c1c9a366f56e9d98940f8dcd0778d039f1421 (patch) (unidiff) | |
tree | b54e1da270ada28f0127585d4d9dcf46e36c3de1 /libopie2/opiecore/device/odevice.cpp | |
parent | 44bfce59cd3cfb2fa6d75675dee5db5edb36e522 (diff) | |
download | opie-629c1c9a366f56e9d98940f8dcd0778d039f1421.zip opie-629c1c9a366f56e9d98940f8dcd0778d039f1421.tar.gz opie-629c1c9a366f56e9d98940f8dcd0778d039f1421.tar.bz2 |
check for '2.4' kernel rather than for an Embedix version, since we will
most likely neither see a unified 2.4 OZ kernel, nor a Embedix 2.6.
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index cf2061b..af77ed1 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -115,14 +115,12 @@ struct default_button default_buttons [] = { | |||
115 | "opiemail", "newMail()" }, | 115 | "opiemail", "newMail()" }, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | ODevice *ODevice::inst() | 118 | ODevice *ODevice::inst() |
119 | { | 119 | { |
120 | static ODevice *dev = 0; | 120 | static ODevice *dev = 0; |
121 | |||
122 | // rewrite this to only use /proc/cpuinfo or so | ||
123 | QString cpu_info; | 121 | QString cpu_info; |
124 | 122 | ||
125 | if ( !dev ) | 123 | if ( !dev ) |
126 | { | 124 | { |
127 | QFile f( PATH_PROC_CPUINFO ); | 125 | QFile f( PATH_PROC_CPUINFO ); |
128 | if ( f.open( IO_ReadOnly ) ) | 126 | if ( f.open( IO_ReadOnly ) ) |