diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 76df5c71d18d88d13f1813439de9a91d71f4cf41..9724ccf0b7f2814a8d75456ac856ea13bb090a6a 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -1034,10 +1034,7 @@ bool BaseTextEditor::event(QEvent *e) d->m_contentsChanged = false; switch (e->type()) { case QEvent::ShortcutOverride: - if (static_cast<QKeyEvent*>(e)->key() == Qt::Key_Backspace) - e->accept(); - else - e->ignore(); // we are a really nice citizen + e->ignore(); // we are a really nice citizen return true; default: break;