changeset 18567:bfb735b70978 stable

Force non-native menu bar for the editor on mac (bug #41823)
author pantxo <pantxo.diribarne@gmail.com>
date Tue, 11 Mar 2014 00:15:20 +0100
parents 548643c76a88
children 564a74b2d509
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Mon Mar 10 17:21:20 2014 +0000
+++ b/libgui/src/m-editor/file-editor.cc	Tue Mar 11 00:15:20 2014 +0100
@@ -889,8 +889,10 @@
 
   // FIXME: what was the intended purpose of this unused variable?
   // QStyle *editor_style = QApplication::style ();
-
   _menu_bar = new QMenuBar (editor_widget);
+#if defined (Q_OS_MAC)
+  _menu_bar->setNativeMenuBar (false);
+#endif
   _tool_bar = new QToolBar (editor_widget);
   _tool_bar->setMovable (true);
   _tab_widget = new QTabWidget (editor_widget);