-rw-r--r-- | core/launcher/desktop.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index aa51898..ab4f14a 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -243,8 +243,11 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) return TRUE; } - if ( ke->simpleData.keycode == Key_SysReq ) { - if ( press ) emit power(); - return TRUE; - } +// This was used for the iPAQ PowerButton +// See main.cpp for new KeyboardFilter +// +// if ( ke->simpleData.keycode == Key_SysReq ) { +// if ( press ) emit power(); +// return TRUE; +// } if ( ke->simpleData.keycode == Key_F35 ) { if ( press ) emit backlight(); |