Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main.cpp: make sure menu bar doesn't steal focus sometimes
When XDG_CURRENT_DESKTOP ≠ kde, perssing and immediately releasing Alt key makes focus get stuck in menu. Fix this by overriding QProxyStyle. This does not influence menu accelerators (e.g. Alt+f to access "File" in menu), which continue working according to user settings. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
- Loading branch information
5fdedf7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I committed this - thanks