summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorDaniel Lundqvist <luda09yl@student.hj.se>2014-12-26 02:37:52 +0100
committerDaniel Lundqvist <luda09yl@student.hj.se>2014-12-26 02:37:52 +0100
commit9d90b26020af83d11ec0900117495901d445e907 (patch)
treeb45ed2ee33471deaf6d46fa9dee7aee785f1f83e /src/common/file_util.cpp
parent2bbbe68399c6252c4d88a3ae650bec592c96d3b1 (diff)
Allow focus on the Qt render widget
By default widgets are set to the focus policy Qt::NoFocus which disallows manually focusing it. Changing the policy to allow clicking the widget to set focus to it allows for keyboard input when not rendering to a popout window. This commit also sets focus to the widget when showing it. Fixes issue #158.
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions