blackberry / Qt

A popular cross-platform application framework
72 stars 23 forks source link

Fix keyboard focus for new windows #4

Closed absmall closed 12 years ago

absmall commented 13 years ago

I have a program which brings up a window, and expects keyboard input to that window. This works when I run it in linux, because the file manager activates a window, and Qt responds to that by giving the window input focus. On playbook, the window doesn't accept keyboard input until I tap it. Since only one application is in the foreground at a time on playbook, I think keyboard focus should be granted to the window as soon as it is created. This change got the keyboard input working for me.