diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index a5b23b72caa..443cd9bbab5 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -399,7 +399,16 @@ void MainWindow::finalize() tr( "What's This?" ), this, SLOT( enterWhatsThisMode() ) ); +// +// Conditional compilation to workaround Qt5 bug that fails to remove +// separator at end of menu when the About menu item is relocated to +// Application Menu on Mac OS X / macOS. For details see: +// * +// * +// +#if !(defined(LMMS_BUILD_APPLE) && (QT_VERSION >= 0x050000)) help_menu->addSeparator(); +#endif help_menu->addAction( embed::getIconPixmap( "icon" ), tr( "About" ), this, SLOT( aboutLMMS() ) );