all repos — mgba @ 7c7af90b5c36e4d4c59997d82f2389653714ef0e

mGBA Game Boy Advance Emulator

Qt: Set strong focus policy on main Window
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Dec 2014 02:17:17 -0800
commit

7c7af90b5c36e4d4c59997d82f2389653714ef0e

parent

58d8cdde820628f29230d861a21d0bddc564b18e

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -45,6 +45,7 @@ , m_gdbController(nullptr)

#endif { setWindowTitle(PROJECT_NAME); + setFocusPolicy(Qt::StrongFocus); m_controller = new GameController(this); m_controller->setInputController(&m_inputController);