-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround Qt5 bug that fails to remove separator at end of File/Help menus #3350
Workaround Qt5 bug that fails to remove separator at end of File/Help menus #3350
Conversation
When the Quit menu item is relocated to Application Menu on Mac OS X / macOS the separator above it should be removed. While Qt4 removes the separator, Qt5 does not remove the separator. For details see: * <LMMS#3345> * <https://bugreports.qt.io/browse/QTBUG-40071>
When the About menu item is relocated to Application Menu on Mac OS X / macOS the separator above it should be removed. While Qt4 removes the separator, Qt5 does not remove the separator. For details see: * <LMMS#3345> * <https://bugreports.qt.io/browse/QTBUG-40071>
Note: I've only tested this fix on Qt5 + Mac OS X 10.8.x. |
@follower thanks, your test results are sufficient. I think your comment could be shorted some.
// Per https://bugreports.qt.io/browse/QTBUG-40071 Or if you prefer to leave an explanation: // remove dangling separator at end of menu per https://bugreports.qt.io/browse/QTBUG-40071 Also note that removing the specificity of |
Thanks for the review. I suspected I might get that feedback--I've never been accused of being excessively terse. :) I can make the change as suggested but wanted to mention part of the motivation for the wording was to make it clear that it was the preprocessor conditional that was the workaround not the addition of the separator. I'd normally put the comment on the Will go with:
|
Should now exclude Qt 5.6+. Tested with Qt 5.5.1. |
@follower thanks!!! |
… menus (LMMS#3350) Prevent dangling separator at end of menus on macOS Per https://bugreports.qt.io/browse/QTBUG-40071
See #3345 for details.