From: Peter Penz Date: Sun, 7 Nov 2010 15:00:09 +0000 (+0000) Subject: The clearing is already done in DolphinSearchBox::keyReleaseEvent() X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/aec3493935671100f9321d0b061e34f279854f6e The clearing is already done in DolphinSearchBox::keyReleaseEvent() svn path=/trunk/KDE/kdebase/apps/; revision=1193915 --- 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(event)->key() == Qt::Key_Escape) { - m_searchInput->clear(); - } } return QWidget::event(event); }