]> git.lyx.org Git - features.git/commitdiff
* make it compile
authorStefan Schimanski <sts@lyx.org>
Sun, 21 Oct 2007 17:15:02 +0000 (17:15 +0000)
committerStefan Schimanski <sts@lyx.org>
Sun, 21 Oct 2007 17:15:02 +0000 (17:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21100 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiMenubar.cpp

index e383254cdb5b06e238db15eb203cd8cdc3aeb484..4f2bc59ec3e5f12ec0ad434d73b9cc2d05d9d490 100644 (file)
@@ -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);