Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the fullscreen keyboard shortcut
`Qt::Key_F11` and `QKeySequence::FullScreen` are of different enum types (`Qt::Key` and `QKeySequence::StandardKey`, respectively) with overlapping value ranges. Using a standard integral type (int, unsigned, long, etc) as a common type for them results in the type information being lost and an ensuing impossibility to take advantage of overloaded constructors of `QKeySequence`. The simple fix is to use `QKeySequence` as the common type of the conditional expression.
- Loading branch information