mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more.
This commit is contained in:
@ -62,7 +62,7 @@ void SearchBar::Hide()
|
||||
void SearchBar::ConnectWidgets()
|
||||
{
|
||||
connect(m_search_edit, &QLineEdit::textChanged, this, &SearchBar::Search);
|
||||
connect(m_close_button, &QPushButton::pressed, this, &SearchBar::Hide);
|
||||
connect(m_close_button, &QPushButton::clicked, this, &SearchBar::Hide);
|
||||
}
|
||||
|
||||
bool SearchBar::eventFilter(QObject* object, QEvent* event)
|
||||
|
Reference in New Issue
Block a user