author | llornkcor <llornkcor> | 2004-09-25 04:51:30 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-09-25 04:51:30 (UTC) |
commit | 688bd5382ab60c2146050fc2ff36850ef08a79b9 (patch) (side-by-side diff) | |
tree | f75ea4fa42dadffcae08cc9d2e73ceca710c6feb /noncore/apps | |
parent | 4eab17fb1381c938188e13ec5025b8302b159c9e (diff) | |
download | opie-688bd5382ab60c2146050fc2ff36850ef08a79b9.zip opie-688bd5382ab60c2146050fc2ff36850ef08a79b9.tar.gz opie-688bd5382ab60c2146050fc2ff36850ef08a79b9.tar.bz2 |
move kerypress to keyrelease
-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 @@ -376,2 +376,9 @@ void AdvancedFm::doAbout() { void AdvancedFm::keyPressEvent( QKeyEvent *e) { + qDebug("keypressevent"); +} + +void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { + qDebug("key release"); + if( CurrentView()->hasFocus() ) + e->ignore(); if( e->key() == Key_Left ) @@ -422,7 +429,2 @@ void AdvancedFm::keyPressEvent( QKeyEvent *e) { -void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { - if( CurrentView()->hasFocus() ) - e->ignore(); -} - |