From 7a224d71c088d32a2c69a2bffd4c1b6c6c61942d Mon Sep 17 00:00:00 2001 From: Marco Biasini <mvbiasini@gmail.com> Date: Wed, 21 Nov 2012 08:49:14 +0100 Subject: [PATCH] Menu on MacOS X should not be owned by anyone Patch by Jeff Lovelace --- modules/gui/src/perspective.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gui/src/perspective.cc b/modules/gui/src/perspective.cc index 4affd2e1e..318f01f2c 100644 --- a/modules/gui/src/perspective.cc +++ b/modules/gui/src/perspective.cc @@ -61,7 +61,9 @@ Perspective::Perspective(QMainWindow* parent): quick_access_bar_(new QWidget), verbosity_slider_(new QSlider(Qt::Horizontal,quick_access_bar_)) { +#if !defined(__APPLE__) parent->setMenuBar(menu_bar_); +#endif QVBoxLayout* l=new QVBoxLayout(central_); l->setMargin(0); -- GitLab