DolphinQT: Listen For `clicked` Signal Rather Than `pressed`

The latter signal was likely used by mistake, e.g. https://github.com/dolphin-emu/dolphin/pull/8263.
This commit is contained in:
mitaclaw 2024-08-08 08:01:50 -07:00
parent 644508cfd7
commit 8e546e79aa
2 changed files with 3 additions and 3 deletions

View File

@ -135,8 +135,8 @@ void AchievementSettingsWidget::ConnectWidgets()
{
connect(m_common_integration_enabled_input, &QCheckBox::toggled, this,
&AchievementSettingsWidget::ToggleRAIntegration);
connect(m_common_login_button, &QPushButton::pressed, this, &AchievementSettingsWidget::Login);
connect(m_common_logout_button, &QPushButton::pressed, this, &AchievementSettingsWidget::Logout);
connect(m_common_login_button, &QPushButton::clicked, this, &AchievementSettingsWidget::Login);
connect(m_common_logout_button, &QPushButton::clicked, this, &AchievementSettingsWidget::Logout);
connect(m_common_hardcore_enabled_input, &QCheckBox::toggled, this,
&AchievementSettingsWidget::ToggleHardcore);
connect(m_common_unofficial_enabled_input, &QCheckBox::toggled, this,

View File

@ -227,7 +227,7 @@ void NetworkWidget::ConnectWidgets()
connect(m_dump_bba_checkbox, &QCheckBox::stateChanged, [](int state) {
Config::SetBaseOrCurrent(Config::MAIN_NETWORK_DUMP_BBA, state == Qt::Checked);
});
connect(m_open_dump_folder, &QPushButton::pressed, [] {
connect(m_open_dump_folder, &QPushButton::clicked, [] {
const std::string location = File::GetUserPath(D_DUMPSSL_IDX);
const QUrl url = QUrl::fromLocalFile(QString::fromStdString(location));
QDesktopServices::openUrl(url);