mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more.
This commit is contained in:
parent
29ba53f6c3
commit
3529dfd691
23 changed files with 70 additions and 70 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue