mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 05:17:44 -07:00
Merge pull request #12985 from mitaclaw/qpushbutton-clicked
DolphinQT: Listen For `clicked` Signal Rather Than `pressed`
This commit is contained in:
commit
5d5f1693b5
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user