From 93eb4dea3f122aa64e613ecd9aacc41fd613559d Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Thu, 21 Apr 2011 22:23:44 +0000 Subject: [PATCH] Revert r3155, as it seems this doesn't correct issue 1710 --- src/playlist/playlistview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index 33c86bfbd..9c8a89f0a 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -455,9 +455,7 @@ void PlaylistView::keyPressEvent(QKeyEvent* event) { } else if(event->modifiers() == Qt::NoModifier // No modifier keys currently pressed... // ... and key pressed is something related to text && ( (event->key() >= Qt::Key_A && event->key() <= Qt::Key_Z) -#ifndef Q_OS_MAC - || event->key() == Qt::Key_Backspace // On Mac OS, it should be used to remove tracks -#endif + || event->key() == Qt::Key_Backspace || event->key() == Qt::Key_Escape)) { emit FocusOnFilterSignal(event); event->accept();