Commit 789a5fa7 authored by Bryant's avatar Bryant

Add action item to MainWindow.cc

parent 488c3003
...@@ -191,6 +191,7 @@ void MainWindow::init() ...@@ -191,6 +191,7 @@ void MainWindow::init()
menuActionHelper->setMenu(ui.menuTools); 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. // Qt 4 on Ubuntu does place the native menubar correctly so on Linux we revert back to in-window menu bar.
// TODO: Check that this is still necessary on Qt5 on Ubuntu
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
menuBar()->setNativeMenuBar(false); menuBar()->setNativeMenuBar(false);
#endif #endif
......
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