Qt: Fix window focus issues

This commit is contained in:
Jeffrey Pfau 2014-12-20 15:13:36 -08:00
parent 58e14082f9
commit ae36c716df
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Bugfixes:
- GBA Memory: Don't call into GPIO write calls if GPIO devices are absent
- GBA BIOS: Fix BIOS prefetch after returning from a SWI
- Debugger: Negative PC-relative loads now properly subtract the offset
- Qt: Fix window focus issues
Misc:
- Qt: Disable sync to video by default
- GBA: Exit cleanly on FATAL if the port supports it

View File

@ -46,6 +46,7 @@ Window::Window(ConfigController* config, QWidget* parent)
#endif
{
setWindowTitle(PROJECT_NAME);
setFocusPolicy(Qt::StrongFocus);
m_controller = new GameController(this);
m_controller->setInputController(&m_inputController);