Qt: Set strong focus policy on main Window

This commit is contained in:
Jeffrey Pfau 2014-12-18 02:17:17 -08:00
parent 58d8cdde82
commit 7c7af90b5c
1 changed files with 1 additions and 0 deletions

View File

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