From 8a301ccc16b1defa1ebf768f2a5653f9b485670d Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Sun, 21 Oct 2007 17:15:02 +0000 Subject: [PATCH] * make it compile git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21100 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiMenubar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiMenubar.cpp b/src/frontends/qt4/GuiMenubar.cpp index e383254cdb..4f2bc59ec3 100644 --- a/src/frontends/qt4/GuiMenubar.cpp +++ b/src/frontends/qt4/GuiMenubar.cpp @@ -204,7 +204,7 @@ void GuiMenubar::macxMenuBarInit() Menu::const_iterator cit = menubackend_.specialMenu().begin(); Menu::const_iterator end = menubackend_.specialMenu().end(); for (size_t i = 0 ; cit != end ; ++cit, ++i) { - Action * action = new Action(*owner_, QString(), + Action * action = new Action(*owner_, QIcon(), toqstr(cit->label()), cit->func(), QString()); action->setMenuRole(entries[i].role);