Stop QMenuBar to steal keyboard focus when pressing Alt key in Linux.
Remove debug output lines.
Coding style fix.
Merge pull request #3152 from AlericInglewood/19854

Code Review for Job #19854