mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more.
This commit is contained in:
@ -125,10 +125,10 @@ void GeckoCodeWidget::ConnectWidgets()
|
||||
connect(m_code_list, &QListWidget::customContextMenuRequested, this,
|
||||
&GeckoCodeWidget::OnContextMenuRequested);
|
||||
|
||||
connect(m_add_code, &QPushButton::pressed, this, &GeckoCodeWidget::AddCode);
|
||||
connect(m_remove_code, &QPushButton::pressed, this, &GeckoCodeWidget::RemoveCode);
|
||||
connect(m_edit_code, &QPushButton::pressed, this, &GeckoCodeWidget::EditCode);
|
||||
connect(m_download_codes, &QPushButton::pressed, this, &GeckoCodeWidget::DownloadCodes);
|
||||
connect(m_add_code, &QPushButton::clicked, this, &GeckoCodeWidget::AddCode);
|
||||
connect(m_remove_code, &QPushButton::clicked, this, &GeckoCodeWidget::RemoveCode);
|
||||
connect(m_edit_code, &QPushButton::clicked, this, &GeckoCodeWidget::EditCode);
|
||||
connect(m_download_codes, &QPushButton::clicked, this, &GeckoCodeWidget::DownloadCodes);
|
||||
connect(m_warning, &CheatWarningWidget::OpenCheatEnableSettings, this,
|
||||
&GeckoCodeWidget::OpenGeneralSettings);
|
||||
}
|
||||
|
Reference in New Issue
Block a user