Qt: Set strong focus policy on main Window
Jeffrey Pfau jeffrey@endrift.com
Thu, 18 Dec 2014 02:17:17 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/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);