diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 80b6814918ff78303c235e9d816b96aaea3fbf62..f6b71c5a2fa2d33e62832453e597a0215558c7f9 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -187,6 +187,11 @@ void MainWindow::init() ui.setupUi(this); hide(); menuActionHelper->setMenu(ui.menuTools); + + // Qt 4 on Ubuntu does place the native menubar correctly so on Linux we revert back to in-window menu bar. +#ifdef Q_OS_LINUX + menuBar()->setNativeMenuBar(false); +#endif // We only need this menu if we have more than one system // ui.menuConnected_Systems->setEnabled(false);