Show last global search results again when focusing back in global search box

This commit is contained in:
Arnaud Bienner 2011-12-05 22:13:58 +01:00
parent f89fb0db3a
commit 898e1e2ed1
1 changed files with 4 additions and 0 deletions

View File

@ -367,6 +367,10 @@ bool GlobalSearchWidget::EventFilterSearchWidget(QObject* o, QEvent* e) {
return true;
break;
case QEvent::FocusIn:
RepositionPopup();
break;
case QEvent::KeyPress: {
QKeyEvent* ke = static_cast<QKeyEvent*>(e);
const int key = ke->key();