Commit 2f9e385f authored by Don Gagne's avatar Don Gagne

Don't use native menu bar on Linux

Fixes Issue #542
parent 90894ad5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment