Add RAIntegration event handler

Some refactoring done to hardcore toggling so that it's more readily available for the toggle hardcore event.
This commit is contained in:
LillyJadeKatrin
2024-07-22 02:17:00 -04:00
parent 9caa02493d
commit 90a4be4b36
8 changed files with 43 additions and 21 deletions

View File

@ -39,8 +39,6 @@ AchievementsWindow::AchievementsWindow(QWidget* parent) : QDialog(parent)
});
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
[this] { m_settings_widget->UpdateData(RC_OK); });
connect(&Settings::Instance(), &Settings::HardcoreStateChanged, this,
[this] { AchievementsWindow::UpdateData({.all = true}); });
}
void AchievementsWindow::showEvent(QShowEvent* event)