Commit 70bed893 authored by Don Gagne's avatar Don Gagne

Merge pull request #578 from DonLakeFlyer/UbuntuMenu

Don't use native menu bar on Linux
parents 90894ad5 2f9e385f
......@@ -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