author | llornkcor <llornkcor> | 2002-10-20 04:30:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-20 04:30:34 (UTC) |
commit | e2694c5aedb3697a373e363cebe72cddb3114a8f (patch) (unidiff) | |
tree | 5ba5910a40cfc151e01a956c609f1bdd0243668e /core/launcher/desktop.cpp | |
parent | f6a0af65b96edf63135d2b88c17b8510eebbbd51 (diff) | |
download | opie-e2694c5aedb3697a373e363cebe72cddb3114a8f.zip opie-e2694c5aedb3697a373e363cebe72cddb3114a8f.tar.gz opie-e2694c5aedb3697a373e363cebe72cddb3114a8f.tar.bz2 |
fix menu button on zaurus F11 raising opie menu
-rw-r--r-- | core/launcher/desktop.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 3546e28..9863187 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp | |||
@@ -414,9 +414,9 @@ void DesktopApplication::systemMessage( const QCString & msg, const QByteArray & | |||
414 | m_screensaver-> setMode ( mode ); | 414 | m_screensaver-> setMode ( mode ); |
415 | } | 415 | } |
416 | else if ( msg == "setDisplayState(int)" ) { | 416 | else if ( msg == "setDisplayState(int)" ) { |
417 | int state; | 417 | int state; |
418 | stream >> state; | 418 | stream >> state; |
419 | m_screensaver-> setDisplayState ( state != 0 ); | 419 | m_screensaver-> setDisplayState ( state != 0 ); |
420 | } | 420 | } |
421 | else if ( msg == "suspend()" ) { | 421 | else if ( msg == "suspend()" ) { |
422 | emit power(); | 422 | emit power(); |
@@ -475,12 +475,12 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) | |||
475 | } | 475 | } |
476 | return TRUE; | 476 | return TRUE; |
477 | } | 477 | } |
478 | /* menu key now opens application menu/toolbar | 478 | // menu key now opens application menu/toolbar |
479 | if ( ke->simpleData.keycode == Key_F11 ) { | 479 | if ( ke->simpleData.keycode == Key_F11 ) { |
480 | if ( press ) emit menu(); | 480 | if ( press ) emit menu(); |
481 | return TRUE; | 481 | return TRUE; |
482 | } | 482 | } |
483 | */ | 483 | |
484 | if ( ke->simpleData.keycode == Key_F12 ) { | 484 | if ( ke->simpleData.keycode == Key_F12 ) { |
485 | while ( activePopupWidget() ) | 485 | while ( activePopupWidget() ) |
486 | activePopupWidget() ->close(); | 486 | activePopupWidget() ->close(); |