summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 2e6b0da..b5a05d3 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -738,13 +738,12 @@ void AdvancedFm::oprocessStderr(OProcess*, char *buffer, int ) {
738 QString lineStr = buffer; 738 QString lineStr = buffer;
739 QMessageBox::warning( this, tr("Error"), lineStr ,tr("Ok") ); 739 QMessageBox::warning( this, tr("Error"), lineStr ,tr("Ok") );
740} 740}
741 741
742bool AdvancedFm::eventFilter( QObject * o, QEvent * e ) { 742bool AdvancedFm::eventFilter( QObject * o, QEvent * e ) {
743 if ( o->inherits( "QLineEdit" ) ) { 743 if ( o->inherits( "QLineEdit" ) ) {
744 qDebug("QLineEdit event");
745 if ( e->type() == QEvent::KeyPress ) { 744 if ( e->type() == QEvent::KeyPress ) {
746 QKeyEvent *ke = (QKeyEvent*)e; 745 QKeyEvent *ke = (QKeyEvent*)e;
747 if ( ke->key() == Key_Return || 746 if ( ke->key() == Key_Return ||
748 ke->key() == Key_Enter ) { 747 ke->key() == Key_Enter ) {
749 okRename(); 748 okRename();
750 return true; 749 return true;