summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-04-28 17:15:42 +1000
committerGitHub <noreply@github.com>2019-04-28 17:15:42 +1000
commite17bb8cfdf9d802ff3fff455f88508700d1a87cc (patch)
treeeb9966e6b29610a26332d150cac6b1d0711c1e7e /Source/Core
parentf7199397a0195f7fb454147b4d68a38235eaab64 (diff)
parentcd5f42cee0897dd6a35dcce7d892dc758868044a (diff)
Merge pull request #8025 from chargeflux/PathPaneAddBtn
Qt: Fix add button not releasing
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp2
-rw-r--r--Source/Core/DolphinQt/GCMemcardManager.cpp2
-rw-r--r--Source/Core/DolphinQt/Settings/PathPane.cpp2
-rw-r--r--Source/Core/DolphinQt/Settings/WiiPane.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
index 511a245e51..9ab52eedde 100644
--- a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
+++ b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
@@ -162,7 +162,7 @@ void FIFOPlayerWindow::CreateWidgets()
void FIFOPlayerWindow::ConnectWidgets()
{
- connect(m_load, &QPushButton::pressed, this, &FIFOPlayerWindow::LoadRecording);
+ connect(m_load, &QPushButton::clicked, this, &FIFOPlayerWindow::LoadRecording);
connect(m_save, &QPushButton::pressed, this, &FIFOPlayerWindow::SaveRecording);
connect(m_record, &QPushButton::pressed, this, &FIFOPlayerWindow::StartRecording);
connect(m_stop, &QPushButton::pressed, this, &FIFOPlayerWindow::StopRecording);
diff --git a/Source/Core/DolphinQt/GCMemcardManager.cpp b/Source/Core/DolphinQt/GCMemcardManager.cpp
index 14eb081438..24ef4069e2 100644
--- a/Source/Core/DolphinQt/GCMemcardManager.cpp
+++ b/Source/Core/DolphinQt/GCMemcardManager.cpp
@@ -128,7 +128,7 @@ void GCMemcardManager::ConnectWidgets()
{
connect(m_slot_file_edit[slot], &QLineEdit::textChanged, this,
[this, slot](const QString& path) { SetSlotFile(slot, path); });
- connect(m_slot_file_button[slot], &QPushButton::pressed, this,
+ connect(m_slot_file_button[slot], &QPushButton::clicked, this,
[this, slot] { SetSlotFileInteractive(slot); });
connect(m_slot_table[slot], &QTableWidget::itemSelectionChanged, this,
&GCMemcardManager::UpdateActions);
diff --git a/Source/Core/DolphinQt/Settings/PathPane.cpp b/Source/Core/DolphinQt/Settings/PathPane.cpp
index 9338751f6f..d05e357eda 100644
--- a/Source/Core/DolphinQt/Settings/PathPane.cpp
+++ b/Source/Core/DolphinQt/Settings/PathPane.cpp
@@ -143,7 +143,7 @@ QGroupBox* PathPane::MakeGameFolderBox()
connect(auto_checkbox, &QCheckBox::toggled, &Settings::Instance(),
&Settings::SetAutoRefreshEnabled);
- connect(add, &QPushButton::pressed, this, &PathPane::Browse);
+ connect(add, &QPushButton::clicked, this, &PathPane::Browse);
connect(m_remove_path, &QPushButton::pressed, this, &PathPane::RemovePath);
game_box->setLayout(vlayout);
diff --git a/Source/Core/DolphinQt/Settings/WiiPane.cpp b/Source/Core/DolphinQt/Settings/WiiPane.cpp
index 661b915118..ed8f57122c 100644
--- a/Source/Core/DolphinQt/Settings/WiiPane.cpp
+++ b/Source/Core/DolphinQt/Settings/WiiPane.cpp
@@ -79,7 +79,7 @@ void WiiPane::ConnectLayout()
// Whitelisted USB Passthrough Devices
connect(m_whitelist_usb_list, &QListWidget::itemClicked, this, &WiiPane::ValidateSelectionState);
- connect(m_whitelist_usb_add_button, &QPushButton::pressed, this,
+ connect(m_whitelist_usb_add_button, &QPushButton::clicked, this,
&WiiPane::OnUSBWhitelistAddButton);
connect(m_whitelist_usb_remove_button, &QPushButton::pressed, this,
&WiiPane::OnUSBWhitelistRemoveButton);