Changed QWidget::keyReleaseEvent to QWidget::keyPressEvent to
match the actual event being handled.
void Bar::keyPressEvent(QKeyEvent *event)
{
void Bar::keyPressEvent(QKeyEvent *event)
{
- QWidget::keyReleaseEvent(event);
+ QWidget::keyPressEvent(event);
if (event->key() == Qt::Key_Escape) {
if (m_searchTermEditor->text().isEmpty()) {
setVisible(false, WithAnimation);
if (event->key() == Qt::Key_Escape) {
if (m_searchTermEditor->text().isEmpty()) {
setVisible(false, WithAnimation);