Merge pull request #7089 from spycrab/qt_refresh_hotkey

Qt: Implement "Refresh Game List" hotkey
This commit is contained in:
Léo Lam 2018-06-07 16:49:09 +02:00 committed by GitHub
commit ca32b4127e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View file

@ -165,6 +165,10 @@ void HotkeyScheduler::Run()
Common::SleepCurrentThread(100);
}
// Refresh Game List
if (IsHotkey(HK_REFRESH_LIST))
emit RefreshGameListHotkey();
// Pause and Unpause
if (IsHotkey(HK_PLAY_PAUSE))
emit TogglePauseHotkey();