void SearchBar::hide() { m_timer->stop(); SearchBarBase::hide(); if (focusedChild()) emit hidden(); }
void SearchBar::hideEvent(QHideEvent* e) { m_timer->stop(); QWidget::hideEvent(e); if (focusedChild()) emit hidden(); }