]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QLMenubar.C
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / QLMenubar.C
index d853fc5276fc85a02d0dd13f2aec69d11dac0759..64e2f1f30eb7bbff8e4716176dabd429edd074ef 100644 (file)
@@ -149,7 +149,7 @@ MenuBackend const & QLMenubar::backend()
 */
 QMenuBar * QLMenubar::menuBar() const
 {
-#ifdef Q_OS_MACX
+#ifdef Q_WS_MACX
        return mac_menubar_.get();
 #else
        return owner_->menuBar();
@@ -158,14 +158,14 @@ QMenuBar * QLMenubar::menuBar() const
 
 void QLMenubar::macxMenuBarInit()
 {
-#ifdef Q_OS_MACX
+#ifdef Q_WS_MACX
        mac_menubar_.reset(new QMenuBar);
 
        // this is the name of the menu that contains our special entries
        menubackend_.specialMenu("LyX");
        // make sure that the special entries are added to the first
        // menu even before this menu has been opened.
-       name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
+       //name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
 #endif
 }