mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21100 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f914298c49
commit
8a301ccc16
@ -204,7 +204,7 @@ void GuiMenubar::macxMenuBarInit()
|
|||||||
Menu::const_iterator cit = menubackend_.specialMenu().begin();
|
Menu::const_iterator cit = menubackend_.specialMenu().begin();
|
||||||
Menu::const_iterator end = menubackend_.specialMenu().end();
|
Menu::const_iterator end = menubackend_.specialMenu().end();
|
||||||
for (size_t i = 0 ; cit != end ; ++cit, ++i) {
|
for (size_t i = 0 ; cit != end ; ++cit, ++i) {
|
||||||
Action * action = new Action(*owner_, QString(),
|
Action * action = new Action(*owner_, QIcon(),
|
||||||
toqstr(cit->label()),
|
toqstr(cit->label()),
|
||||||
cit->func(), QString());
|
cit->func(), QString());
|
||||||
action->setMenuRole(entries[i].role);
|
action->setMenuRole(entries[i].role);
|
||||||
|
Loading…
Reference in New Issue
Block a user