summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-07-24 18:06:29 -0700
committerGitHub <noreply@github.com>2019-07-24 18:06:29 -0700
commitd82e0e0761aa8cf08048aed64011f0edf5d967a8 (patch)
tree0d19a24b6470e9e2fb57df22107835ca4421c7c6 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parent29ba53f6c32313e551b4797a84a4edf477a4d54e (diff)
parent3529dfd69151bcf6c43145dcb5a677c3ae85653f (diff)
Merge pull request #8263 from CookiePLMonster/qt-button-fixes
Fixed behaviour of some buttons by connecting functors to correct signals
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}