Revert r3155, as it seems this doesn't correct issue 1710

This commit is contained in:
Arnaud Bienner 2011-04-21 22:23:44 +00:00
parent be1ee059f2
commit 93eb4dea3f
1 changed files with 1 additions and 3 deletions

View File

@ -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();