From 3529dfd69151bcf6c43145dcb5a677c3ae85653f Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 24 Jul 2019 00:18:58 +0200 Subject: Connect numerous QPushButtons to use clicked signal instead of pressed. This unifies UI behaviour more. --- Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp') diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index 71972b5c66..dda5915fc5 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -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); } -- cgit v1.2.3