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:
parent
644508cfd7
commit
8e546e79aa
|
@ -135,8 +135,8 @@ void AchievementSettingsWidget::ConnectWidgets()
|
||||||
{
|
{
|
||||||
connect(m_common_integration_enabled_input, &QCheckBox::toggled, this,
|
connect(m_common_integration_enabled_input, &QCheckBox::toggled, this,
|
||||||
&AchievementSettingsWidget::ToggleRAIntegration);
|
&AchievementSettingsWidget::ToggleRAIntegration);
|
||||||
connect(m_common_login_button, &QPushButton::pressed, this, &AchievementSettingsWidget::Login);
|
connect(m_common_login_button, &QPushButton::clicked, this, &AchievementSettingsWidget::Login);
|
||||||
connect(m_common_logout_button, &QPushButton::pressed, this, &AchievementSettingsWidget::Logout);
|
connect(m_common_logout_button, &QPushButton::clicked, this, &AchievementSettingsWidget::Logout);
|
||||||
connect(m_common_hardcore_enabled_input, &QCheckBox::toggled, this,
|
connect(m_common_hardcore_enabled_input, &QCheckBox::toggled, this,
|
||||||
&AchievementSettingsWidget::ToggleHardcore);
|
&AchievementSettingsWidget::ToggleHardcore);
|
||||||
connect(m_common_unofficial_enabled_input, &QCheckBox::toggled, this,
|
connect(m_common_unofficial_enabled_input, &QCheckBox::toggled, this,
|
||||||
|
|
|
@ -227,7 +227,7 @@ void NetworkWidget::ConnectWidgets()
|
||||||
connect(m_dump_bba_checkbox, &QCheckBox::stateChanged, [](int state) {
|
connect(m_dump_bba_checkbox, &QCheckBox::stateChanged, [](int state) {
|
||||||
Config::SetBaseOrCurrent(Config::MAIN_NETWORK_DUMP_BBA, state == Qt::Checked);
|
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 std::string location = File::GetUserPath(D_DUMPSSL_IDX);
|
||||||
const QUrl url = QUrl::fromLocalFile(QString::fromStdString(location));
|
const QUrl url = QUrl::fromLocalFile(QString::fromStdString(location));
|
||||||
QDesktopServices::openUrl(url);
|
QDesktopServices::openUrl(url);
|
||||||
|
|
Loading…
Reference in New Issue