Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 73d0d57..48332b7 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -375,4 +375,11 @@ void AdvancedFm::doAbout() { | |||
375 | 375 | ||
376 | void AdvancedFm::keyPressEvent( QKeyEvent *e) { | 376 | void AdvancedFm::keyPressEvent( QKeyEvent *e) { |
377 | qDebug("keypressevent"); | ||
378 | } | ||
379 | |||
380 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { | ||
381 | qDebug("key release"); | ||
382 | if( CurrentView()->hasFocus() ) | ||
383 | e->ignore(); | ||
377 | if( e->key() == Key_Left ) | 384 | if( e->key() == Key_Left ) |
378 | upDir(); | 385 | upDir(); |
@@ -421,9 +428,4 @@ void AdvancedFm::keyPressEvent( QKeyEvent *e) { | |||
421 | } | 428 | } |
422 | 429 | ||
423 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { | ||
424 | if( CurrentView()->hasFocus() ) | ||
425 | e->ignore(); | ||
426 | } | ||
427 | |||
428 | 430 | ||
429 | void AdvancedFm::QPEButtonPushed() { | 431 | void AdvancedFm::QPEButtonPushed() { |