mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Add Open Achievements Hotkey
Adds a hotkey to pause emulation and bring up the Achievements dialog.
This commit is contained in:
parent
5ea3d9fca0
commit
2372b6a386
5 changed files with 25 additions and 0 deletions
|
@ -658,6 +658,10 @@ void MainWindow::ConnectHotkeys()
|
|||
movie.SetReadOnly(read_only);
|
||||
emit ReadOnlyModeChanged(read_only);
|
||||
});
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
connect(m_hotkey_scheduler, &HotkeyScheduler::OpenAchievements, this,
|
||||
&MainWindow::ShowAchievementsWindow, Qt::QueuedConnection);
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
connect(m_hotkey_scheduler, &HotkeyScheduler::Step, m_code_widget, &CodeWidget::Step);
|
||||
connect(m_hotkey_scheduler, &HotkeyScheduler::StepOver, m_code_widget, &CodeWidget::StepOver);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue