compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-09-14 20:10:10 +00:00
parent ed75b390a8
commit ee33e44528

View File

@ -89,7 +89,7 @@ void QLPopupMenu::populate(Menu * menu)
if (m->kind() == MenuItem::Separator) {
insertSeparator();
} else if (m->kind() == MenuItem::Submenu) {
pair<int, QLPopupMenu *> res = createMenu(this, m, owner_);
pair<int, QLPopupMenu *> res = createMenu(this, &(*m), owner_);
setItemEnabled(res.first, !disabled(m->submenu()));
res.second->populate(m->submenu());
} else {