mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Qt: add apply button to settings dialog
This commit is contained in:
parent
e005581dda
commit
0ed87be47a
5 changed files with 29 additions and 8 deletions
|
@ -1059,7 +1059,7 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
|||
connect(configure, &QAction::triggered, [=, this]()
|
||||
{
|
||||
settings_dialog dlg(m_gui_settings, m_emu_settings, 0, this, &currGame);
|
||||
if (dlg.exec() == QDialog::Accepted)
|
||||
connect(&dlg, &settings_dialog::EmuSettingsApplied, [this, gameinfo]()
|
||||
{
|
||||
if (!gameinfo->hasCustomConfig)
|
||||
{
|
||||
|
@ -1067,7 +1067,8 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
|||
ShowCustomConfigIcon(gameinfo);
|
||||
}
|
||||
Q_EMIT NotifyEmuSettingsChange();
|
||||
}
|
||||
});
|
||||
dlg.exec();
|
||||
});
|
||||
connect(pad_configure, &QAction::triggered, [=, this]()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue