mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix window focus issues
This commit is contained in:
parent
58e14082f9
commit
ae36c716df
1
CHANGES
1
CHANGES
|
@ -8,6 +8,7 @@ Bugfixes:
|
||||||
- GBA Memory: Don't call into GPIO write calls if GPIO devices are absent
|
- GBA Memory: Don't call into GPIO write calls if GPIO devices are absent
|
||||||
- GBA BIOS: Fix BIOS prefetch after returning from a SWI
|
- GBA BIOS: Fix BIOS prefetch after returning from a SWI
|
||||||
- Debugger: Negative PC-relative loads now properly subtract the offset
|
- Debugger: Negative PC-relative loads now properly subtract the offset
|
||||||
|
- Qt: Fix window focus issues
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Disable sync to video by default
|
- Qt: Disable sync to video by default
|
||||||
- GBA: Exit cleanly on FATAL if the port supports it
|
- GBA: Exit cleanly on FATAL if the port supports it
|
||||||
|
|
|
@ -46,6 +46,7 @@ Window::Window(ConfigController* config, QWidget* parent)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
setWindowTitle(PROJECT_NAME);
|
setWindowTitle(PROJECT_NAME);
|
||||||
|
setFocusPolicy(Qt::StrongFocus);
|
||||||
m_controller = new GameController(this);
|
m_controller = new GameController(this);
|
||||||
m_controller->setInputController(&m_inputController);
|
m_controller->setInputController(&m_inputController);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue