Diffstat (limited to 'libopie2/opiecore/device/odevice_palm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_palm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_palm.cpp b/libopie2/opiecore/device/odevice_palm.cpp index 76399f8..399c08c 100644 --- a/libopie2/opiecore/device/odevice_palm.cpp +++ b/libopie2/opiecore/device/odevice_palm.cpp @@ -84,17 +84,17 @@ struct palm_button palm_buttons [] = { { Model_Palm_LD, Qt::Key_F7, QT_TRANSLATE_NOOP( "Button", "Voice Memo Button" ), "devicebuttons/palm_voice_memo", "QPE/TaskBar", "toggleMenu()", "QPE/TaskBar", "toggleStartMenu()" }, { Model_Palm_LD, Qt::Key_F8, QT_TRANSLATE_NOOP( "Button", "Rotate Button" ), "devicebuttons/palm_rotate", - "QPE/Rotation", "flip()",0}, + "QPE/Rotation", "flip()",0,0}, }; void Palm::init(const QString& cpu_info) { d->m_vendorstr = "Palm"; d->m_vendor = Vendor_Palm; QString model = "unknown"; @@ -213,16 +213,18 @@ bool Palm::suspend() QCopChannel::send( "QPE/System", "aboutToSuspend()" ); ::sync(); // flush fs caches res = ( ::system ( "apm --suspend" ) == 0 ); QCopChannel::send( "QPE/System", "returnFromSuspend()" ); } break; + default: + break; } return res; } int Palm::displayBrightnessResolution() const { |