Qt: Add a method for the emulation thread to focus the display widget

This commit is contained in:
Connor McLaughlin
2020-02-26 19:26:14 +10:00
parent e9dea6e0f7
commit 27c9f2d834
4 changed files with 22 additions and 8 deletions

View File

@ -303,10 +303,13 @@ void QtHostInterface::OnSystemPaused(bool paused)
{
HostInterface::OnSystemPaused(paused);
if (!paused)
wakeThread();
emit emulationPaused(paused);
if (!paused)
{
wakeThread();
emit focusDisplayWidgetRequested();
}
}
void QtHostInterface::OnSystemDestroyed()