Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 9cb9aba..3bfec7d 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -374,17 +374,16 @@ void AdvancedFm::QPEButtonPushed() { | |||
374 | 374 | ||
375 | void AdvancedFm::doAbout() { | 375 | void AdvancedFm::doAbout() { |
376 | QMessageBox::message("AdvancedFm",tr("<P>Advanced FileManager is copyright 2002-2003 by L.J.Potter<llornkcor@handhelds.org> and is licensed by the GPL</P>")); | 376 | QMessageBox::message("AdvancedFm",tr("<P>Advanced FileManager is copyright 2002-2003 by L.J.Potter<llornkcor@handhelds.org> and is licensed by the GPL</P>")); |
377 | } | 377 | } |
378 | 378 | ||
379 | void AdvancedFm::keyPressEvent( QKeyEvent *e) { | 379 | void AdvancedFm::keyPressEvent( QKeyEvent *e) { |
380 | qDebug("keypressevent"); | 380 | Q_UNUSED(e); |
381 | } | 381 | } |
382 | 382 | ||
383 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { | 383 | void AdvancedFm::keyReleaseEvent( QKeyEvent *e) { |
384 | qDebug("key release"); | ||
385 | if( CurrentView()->hasFocus() ) | 384 | if( CurrentView()->hasFocus() ) |
386 | e->ignore(); | 385 | e->ignore(); |
387 | if( e->key() == Key_Left ) | 386 | if( e->key() == Key_Left ) |
388 | upDir(); | 387 | upDir(); |
389 | else if( e->key() == Key_Return || e->key() == Key_Enter) | 388 | else if( e->key() == Key_Return || e->key() == Key_Enter) |
390 | navigateToSelected(); | 389 | navigateToSelected(); |
@@ -810,12 +809,13 @@ void AdvancedFm::findFile(const QString &fileName) { | |||
810 | thisView->ensureItemVisible(it.current()); | 809 | thisView->ensureItemVisible(it.current()); |
811 | } | 810 | } |
812 | } | 811 | } |
813 | } | 812 | } |
814 | 813 | ||
815 | void AdvancedFm::slotSwitchMenu(int item) { | 814 | void AdvancedFm::slotSwitchMenu(int item) { |
815 | Q_UNUSED(item); | ||
816 | // qDebug( "Switch %d",item); | 816 | // qDebug( "Switch %d",item); |
817 | // viewMenu->setItemChecked(item, true); | 817 | // viewMenu->setItemChecked(item, true); |
818 | } | 818 | } |
819 | 819 | ||
820 | void AdvancedFm::navigateToSelected() { | 820 | void AdvancedFm::navigateToSelected() { |
821 | if( !CurrentView()->currentItem()) return; | 821 | if( !CurrentView()->currentItem()) return; |