diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/widgets/hbsearchpanel_p.cpp --- a/src/hbwidgets/widgets/hbsearchpanel_p.cpp Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/widgets/hbsearchpanel_p.cpp Mon Oct 18 18:23:13 2010 +0300 @@ -69,6 +69,7 @@ // connect initial state signals QObject::connect(mLineEdit, SIGNAL(textChanged(QString)), q, SIGNAL(criteriaChanged(QString))); + mLineEdit->installEventFilter(q); } @@ -92,7 +93,7 @@ mSearchOptions = false; HbStyle::setItemName( mSearchOptionsButton, "" ); QObject::disconnect(mSearchOptionsButton, SIGNAL(clicked()), q, SLOT(_q_searchOptionsClicked())); - mSearchOptionsButton->deleteLater(); + delete mSearchOptionsButton; mSearchOptionsButton = 0; q->repolish(); } @@ -118,7 +119,7 @@ mProgressive = true; HbStyle::setItemName( mProgressButton, "" ); QObject::disconnect(mProgressButton, SIGNAL(clicked()), q, SLOT(_q_criteriaChanged())); - mProgressButton->deleteLater(); + delete mProgressButton; mProgressButton = 0; // start to send events always when text is updated @@ -145,7 +146,7 @@ Q_Q( HbSearchPanel ); mCancelEnabled = false; HbStyle::setItemName( mCancelButton, "" ); - mCancelButton->deleteLater(); + delete mCancelButton; mCancelButton = 0; q->repolish(); }