Merge pull request #8025 from chargeflux/PathPaneAddBtn

Qt: Fix add button not releasing
This commit is contained in:
Connor McLaughlin 2019-04-28 17:15:42 +10:00 committed by GitHub
commit e17bb8cfdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -162,7 +162,7 @@ void FIFOPlayerWindow::CreateWidgets()
void FIFOPlayerWindow::ConnectWidgets() 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_save, &QPushButton::pressed, this, &FIFOPlayerWindow::SaveRecording);
connect(m_record, &QPushButton::pressed, this, &FIFOPlayerWindow::StartRecording); connect(m_record, &QPushButton::pressed, this, &FIFOPlayerWindow::StartRecording);
connect(m_stop, &QPushButton::pressed, this, &FIFOPlayerWindow::StopRecording); connect(m_stop, &QPushButton::pressed, this, &FIFOPlayerWindow::StopRecording);

View File

@ -128,7 +128,7 @@ void GCMemcardManager::ConnectWidgets()
{ {
connect(m_slot_file_edit[slot], &QLineEdit::textChanged, this, connect(m_slot_file_edit[slot], &QLineEdit::textChanged, this,
[this, slot](const QString& path) { SetSlotFile(slot, path); }); [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); }); [this, slot] { SetSlotFileInteractive(slot); });
connect(m_slot_table[slot], &QTableWidget::itemSelectionChanged, this, connect(m_slot_table[slot], &QTableWidget::itemSelectionChanged, this,
&GCMemcardManager::UpdateActions); &GCMemcardManager::UpdateActions);

View File

@ -143,7 +143,7 @@ QGroupBox* PathPane::MakeGameFolderBox()
connect(auto_checkbox, &QCheckBox::toggled, &Settings::Instance(), connect(auto_checkbox, &QCheckBox::toggled, &Settings::Instance(),
&Settings::SetAutoRefreshEnabled); &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); connect(m_remove_path, &QPushButton::pressed, this, &PathPane::RemovePath);
game_box->setLayout(vlayout); game_box->setLayout(vlayout);

View File

@ -79,7 +79,7 @@ void WiiPane::ConnectLayout()
// Whitelisted USB Passthrough Devices // Whitelisted USB Passthrough Devices
connect(m_whitelist_usb_list, &QListWidget::itemClicked, this, &WiiPane::ValidateSelectionState); 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); &WiiPane::OnUSBWhitelistAddButton);
connect(m_whitelist_usb_remove_button, &QPushButton::pressed, this, connect(m_whitelist_usb_remove_button, &QPushButton::pressed, this,
&WiiPane::OnUSBWhitelistRemoveButton); &WiiPane::OnUSBWhitelistRemoveButton);