┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search/dolphinsearchbox.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index 6fb22fb17..6ab1362c8 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -115,10 +115,6 @@ bool DolphinSearchBox::event(QEvent* event)
{
if (event->type() == QEvent::Polish) {
init();
- } else if (event->type() == QEvent::KeyPress) {
- if (static_cast<QKeyEvent* >(event)->key() == Qt::Key_Escape) {
- m_searchInput->clear();
- }
}
return QWidget::event(event);
}