-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.cpp b/libopie2/opiecore/device/odevice_simpad.cpp index 6d4624b..76f03a0 100644 --- a/libopie2/opiecore/device/odevice_simpad.cpp +++ b/libopie2/opiecore/device/odevice_simpad.cpp @@ -118,5 +118,4 @@ void SIMpad::init(const QString&) d->m_vendor = Vendor_SIEMENS; - QFile f ( "/proc/hal/model" ); //TODO Implement model checking @@ -136,5 +135,4 @@ void SIMpad::init(const QString&) //Distribution detecting code is now in base class - m_leds [0] = m_leds [1] = Led_Off; diff --git a/libopie2/opiecore/device/odevice_simpad.h b/libopie2/opiecore/device/odevice_simpad.h index 0f4e66f..d9ae5a5 100644 --- a/libopie2/opiecore/device/odevice_simpad.h +++ b/libopie2/opiecore/device/odevice_simpad.h @@ -41,5 +41,5 @@ namespace Internal { class SIMpad : public ODevice, public QWSServer::KeyboardFilter -{ +{ protected: virtual void init(const QString&); @@ -67,5 +67,5 @@ class SIMpad : public ODevice, public QWSServer::KeyboardFilter int m_power_timer; - OLedState m_leds [1]; + OLedState m_leds [2]; }; |