Apply QFocusFrame to widgets regardless of focus reason
This ensures that widgets get a focus frame when they regain focus because their window regained focus or when they get focus when their window is first opened.
@ndavis: I don't understand why the original code applies the focus frame only if the focus event is keyboard-related. Maybe the correct fix is to iterate the focus proxy chain regardless of the focus reason.
Kleopatra's New Key Pair wizard immediately after opening (with patch applied):
Kleopatra's New Key Pair wizard after opening with radio buttons (with patch applied):